serial no. format problem


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers serial no. format problem
# 1  
Old 12-05-2005
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..
unknown2205
# 2  
Old 12-05-2005
Just use some more digits for x.
yyyymmddxxxxxx

Smilie 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. Smilie
# 3  
Old 12-05-2005
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?? Smilie

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?
unknown2205
# 4  
Old 12-05-2005
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.
# 5  
Old 12-05-2005
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...?
unknown2205
# 6  
Old 12-05-2005
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. Smilie
# 7  
Old 12-05-2005
ok..thanx bro..that help me enuff..thanx again
unknown2205
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. SCO

Problem finding what is using a serial port

How can I determine what process is currently using a serial port? A good bit of google searching hasn't turned up anything useful, but it seems like there has to be a way to do this without too much difficulty. When I first started looking into this problem, I assumed that when a port was in... (2 Replies)
Discussion started by: jdsnatl
2 Replies

2. Programming

Problem with read data from serial device

I have problem with C programming. I want to send & receive data through serial communication. I send data(command) to device to get data from device but when receive data, it can't get altogether of data. It get only some data. What should I do to get altogether of data? If all of... (7 Replies)
Discussion started by: noppon_s
7 Replies

3. Programming

problem in coding for GSM interfacing using serial port

i am having some coding problem in c for interfacing the GSM module through serial port. i want to send/receive sms. i have done all the setting for the port and know the AT command to use in this but i am actually having problem in reading and writing from serial port how to handle the signal when... (1 Reply)
Discussion started by: harsh_it
1 Replies

4. Solaris

Ultra 5 serial console problem

Hi I have a stupid problem with ultra 5 console connection. I can't connect to serial port with my laptop. I made these configurations from ok prompt: OK setenv input-device ttya OK setenv output-device ttya OK setenv auto-boot? false I tried to connect to machine with cisco rollover... (5 Replies)
Discussion started by: noizer`
5 Replies

5. Solaris

Serial port problem

I am working with solaris 9 sparc and I want to connect physical device in serial port but when I am connecting it,It is showing the error window saying-- So can any1 tell me the reason or is there any package I have to add to work with serial port??? (2 Replies)
Discussion started by: smartgupta
2 Replies

6. UNIX for Dummies Questions & Answers

problem with serial port BSD

Hello all , i have change my system debian linux to freebsd( pcBSD) all working as well , but the serial does not work correctly. Under linux the problem does not appears. my problem is than my serial port does work . the first step than i have make is look with dmesg if my serial are... (0 Replies)
Discussion started by: pitbac23
0 Replies

7. Programming

problem while having a communication with serial port?????

hello, I am gettin problem while sending and recieving data through seial port... when I am sending Data then the reciever end is not able to recieve that data ..... Reciever end is running in infinite loop just polling after some time to check that there is data on the port and then again... (9 Replies)
Discussion started by: arunchaudhary19
9 Replies

8. Programming

Problem regarding serial port and multithreading

hello, I am creating a application in which I first open the serial port and then create the thread..for reading the data comming through that serial port. from that same thread I create another thread that is write thread means for writing on the serial port... I am continously polling again... (3 Replies)
Discussion started by: arunchaudhary19
3 Replies

9. Programming

getting problem in my code:::: plz help...(multithreaded appn with serial comm.)

hello, here I am copying my code... I am using two threads for reading and writing at com ports....one for reading and one for writing...in read thread I am using select() api....and polling again and again if there is some data to be read....but select is not returning any positive value so... (0 Replies)
Discussion started by: arunchaudhary19
0 Replies

10. Programming

how i can transfer and receive file in any format over serial port

helo i m using fedora core 6 o.s. i want to develop application using c,c++ which transfer file in any format(like pdf,txt,doc etc) over the serial port and i want to receive the same file from the serial port please guide me. amit (4 Replies)
Discussion started by: amitpansuria
4 Replies
Login or Register to Ask a Question