The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
problem while having a communication with serial port????? arunchaudhary19 High Level Programming 9 04-17-2008 01:52 PM
Problem regarding serial port and multithreading arunchaudhary19 High Level Programming 3 11-13-2007 01:46 PM
getting problem in my code:::: plz help...(multithreaded appn with serial comm.) arunchaudhary19 High Level Programming 0 10-29-2007 05:38 AM
getting problem in my code:::: plz help...(multithreaded appn with serial comm.) arunchaudhary19 Linux 0 10-26-2007 03:24 AM
how i can transfer and receive file in any format over serial port amitpansuria High Level Programming 4 08-02-2007 09:52 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-05-2005
Users Awaiting Email Confirmation
 

Join Date: Nov 2005
Posts: 17
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
serial no. format problem

Hello guyz..

just want to know whether my doubt can be solve or not..maybe it

my company using yyyymmddxx for serial no format..and it cause problems..

first, my adjustments for moving n deleting domain name exceeded xxx per day, and it will cause and effect the yyyymmdd digits.

can all of u guyz can suggest me the best format that can be use to assign serial number? because from what i know that 20051206xx for year can't begin with '0' such as 051206xxxx..
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 12-05-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,240
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Just use some more digits for x.
yyyymmddxxxxxx

And watch out for the y10k bug! If you constrain year to 4 digits, you will overflow a few thousand years from now and year will indeed be starting with a zero! What's worse, that will happen every 10,000 years.
Reply With Quote
  #3 (permalink)  
Old 12-05-2005
Users Awaiting Email Confirmation
 

Join Date: Nov 2005
Posts: 17
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Quote:
Originally Posted by Perderabo
Just use some more digits for x.
yyyymmddxxxxxx
from what i know, the serial format can only have 10 digits rite?

can it be 14-digits??

i've have read RFC for serial number and its not specify and justify whether zero can be the first digit..

can u guide me the correct answer?
Reply With Quote
  #4 (permalink)  
Old 12-05-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,240
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
I'm sorry. I forgot to use my mind-reading power to discover that this was a DNS problem. Yeah yyyymmddxx is all there is with DNS. You guys are making more than 100 DNS changes a day!? Maybe you should split up your zone files a bit. yyyymmddxx has always worked for me. I don't think we've ever hit 30 changes in a day.
Reply With Quote
  #5 (permalink)  
Old 12-05-2005
Users Awaiting Email Confirmation
 

Join Date: Nov 2005
Posts: 17
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
rite, im work for ISP company @ malaysia and only my company that holds this DNS stuffs..but im not dealing directly with it. im just make a research for that.S.T.T.P

what u mean by split zone?can u make an example...?
Reply With Quote
  #6 (permalink)  
Old 12-05-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,240
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
The serial number is a number that changes when you modify a file, right? If you are changing the file 100's of time a day, maybe it is too big. So split it up. (On the other hand, if it only has one line and you changing the host name for one ip address a few hundred times a day, that won't work.)

No. I am not going to to type in large file and then type in a demo of splitting it.
Reply With Quote
  #7 (permalink)  
Old 12-05-2005
Users Awaiting Email Confirmation
 

Join Date: Nov 2005
Posts: 17
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
ok..thanx bro..that help me enuff..thanx again
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:49 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101