Re: [newbie] tar questions, ta
$ mkdosfs /dev/fd0 is only part of the story. Presumably working on preformatted or prepped disks? Yep - presumably the disk has already been (fd) formatted. But most floppy disks purchased these days have already been formatted. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] tar questions, ta
It depends on how you define a kilobyte. Crappy ms say 1kb = 1000 bytes. The true world of computers says 1kb = 1024 bytes. Because hex is to the base 2 and decimal is to the base 10 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of John Negus Sent: 06 March 2003 8:25 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] tar questions, ta Greg Meyer wrote: On Sunday 02 March 2003 02:16 pm, Michael Adams wrote: What number of 1k blocks will fit on a 1.44Mb DOS floppy? An empty dos-formatted floppy has 1,457,664 bytes free - which if my calculator doesn't deceive me yields: divided by 1024 gives 1423.5 (1k blocks) divided by 1024 again gives 1.39 (Mb) John _ GRAND JEU SMS : Pour gagner un NOKIA 7650, envoyez le mot IF au 61321 (prix d'un SMS + 0.35 euro). Un SMS vous dira si vous avez gagné. Règlement : http://www.ifrance.com/_reloc/sign.sms Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] tar questions, ta
On Mon, 03 Mar 2003 11:38, David E. Fox wrote: What number of 1k blocks will fit on a 1.44Mb DOS floppy? (I dont know where to read the available space. I can see usage with 'df' or in konq, but not free space.) Like another poster said, 1440 1K blocks. On the other hand, that assumes you don't put a filesystem on it, which would take up some portion of the available space. My impression was it was a 2Mb RAW disk and when the filesystem (DOS) is written to it. 1.44MB remains. Do you create the volumed tarball direct to floppy's or on the hard drive first? Either. But you can send the tar right to the floppy, without creating a file system first. You just need to visualize the floppy disk as a short, flattened tape :). # tar -cvf /dev/fd0 /path/to/data Your saying that it will just say put in next floppy like winzip does? Doh, if this works, then the previous question is redundant. -- Michael Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] tar questions, ta
On Mon, 03 Mar 2003 12:21, Stephen Kuhn wrote: On Mon, 2003-03-03 at 06:16, Michael Adams wrote: 1. I backed up an old system and i made the mistake of using absolute paths. I now want to extract from this tar ball into my newer system. I want to extract individual files and want to place them in an 'extraction' directory. Can i do it? How? (if i get it wrong i could write over existing files) I like using the facilities within Konqueror as a file manager for handling TAR/GZ files - then I can just drag/drop files where I want them - irregardless of paths. Yeah, me too, but konq won't see .hiddenfiles in a tar. -- Michael Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] tar questions, ta
David E. Fox wrote: Either. But you can send the tar right to the floppy, without creating a file system first. You just need to visualize the floppy disk as a short, flattened tape :). # tar -cvf /dev/fd0 /path/to/data better yet, why not just as it is, a device.? better yet, why not use cpio? peace out. tc,hago. g . -- think green... save a tree, save a life, save time, save bandwidth, save storage. send email... text/plain - disable pgp/gpg/geek code attachments =+= if you are proud to be an american, then buy made in america. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] tar questions, ta
Michael Adams wrote: My impression was it was a 2Mb RAW disk and when the filesystem (DOS) is written to it. 1.44MB remains. this is where you need to start looking at your system hardware as devices, not names associated with description or function. capacity becomes what it is, not 1m44 that oos decided so they could keep things simple. ram memory management is another example of short sided thinking, as is chs limits and lba, as is oos. Your saying that it will just say put in next floppy like winzip does? Doh, if this works, then the previous question is redundant. better. other oos is redundant. if a device is considered as removable, why not consider it as continual, also? this is logic and reasoning allowed by using unix and linux. and another way of thinking, with out fences, who needs gates? peace out. tc,hago. g . -- think green... save a tree, save a life, save time, save bandwidth, save storage. send email... text/plain - disable pgp/gpg/geek code attachments =+= if you are proud to be an american, then buy made in america. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] tar questions, ta
Michael Adams wrote: Yeah, me too, but konq won't see .hiddenfiles in a tar. it will if you enable. .directories, do not show in tree structure. or so i have not found in x setup. i would venture that it could be from source mod. peace out. tc,hago. g . -- think green... save a tree, save a life, save time, save bandwidth, save storage. send email... text/plain - disable pgp/gpg/geek code attachments =+= if you are proud to be an american, then buy made in america. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] tar questions, ta
Stephen Kuhn wrote: I like using the facilities within Konqueror as a file manager for handling TAR/GZ files - then I can just drag/drop files where I want them - irregardless of paths. admit it, you are just lazy. but then again, who am i to talk about lazy? i never registered or updated anything with oos. peace out. tc,hago. g . -- think green... save a tree, save a life, save time, save bandwidth, save storage. send email... text/plain - disable pgp/gpg/geek code attachments =+= if you are proud to be an american, then buy made in america. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] tar questions, ta
On Mon, 2003-03-03 at 19:49, Michael Adams wrote: On Mon, 03 Mar 2003 12:21, Stephen Kuhn wrote: On Mon, 2003-03-03 at 06:16, Michael Adams wrote: 1. I backed up an old system and i made the mistake of using absolute paths. I now want to extract from this tar ball into my newer system. I want to extract individual files and want to place them in an 'extraction' directory. Can i do it? How? (if i get it wrong i could write over existing files) I like using the facilities within Konqueror as a file manager for handling TAR/GZ files - then I can just drag/drop files where I want them - irregardless of paths. Yeah, me too, but konq won't see .hiddenfiles in a tar. Konqueror will show .hiddenfiles in a tar if you select 'Show Hidden Files' under the 'View' menu. Just tested it :) Regards, John... Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] tar questions, ta
On Mon, 2003-03-03 at 20:13, g wrote: Michael Adams wrote: Yeah, me too, but konq won't see .hiddenfiles in a tar. it will if you enable. .directories, do not show in tree structure. or so i have not found in x setup. i would venture that it could be from source mod. Either I'm doing something right or something wrong - I can see all the dot files in tar's and the likes - everything - so maybe it's a Konq setting that's been flipped for me? I know that somewhere I did set Konq to view hidden files and backup files (same with Naughty-Lust) - so maybe that's the go with that - because Konq treats a TAR as a directory or a file structure? Now for more coffee... -- Tue, 4 Mar 2003 08:05:01 +1100 8:05am up 10:58, 2 users, load average: 0.03, 0.15, 0.19 -- |____ | kuhn media australia| | / ,, /| |'-. | http://kma.0catch.com | | .\__/ || | | |=| | _ / `._ \|_|_.-' | stephen kuhn| | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | | |/ ._/ || | email: [EMAIL PROTECTED]| | |'. `\ | | |icq: 5483808 | | ;/ / | | | | | smk ) /_/| |.---.| | mobile: 0410-728-389| | ' `-`' | Berkeley, New South Wales, AU | -- linux user:267497 * RH 8.0 * PC/Mac/Linux/Networking/Consulting -- The time was the 19th of May, 1780. The place was Hartford, Connecticut. The day has gone down in New England history as a terrible foretaste of Judgement Day. For at noon the skies turned from blue to grey and by mid-afternoon had blackened over so densely that, in that religious age, men fell on their knees and begged a final blessing before the end came. The Connecticut House of Representatives was in session. And, as some of the men fell down and others clamored for an immediate adjournment, the Speaker of the House, one Col. Davenport, came to his feet. He silenced them and said these words: The day of judgment is either approaching or it is not. If it is not, there is no cause for adjournment. If it is, I choose to be found doing my duty. I wish therefore that candles may be brought. -- Alistair Cooke Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] tar questions, ta
better yet, why not just as it is, a device.? I thought that's what i did :). I was tarring directly to /dev/fd0. better yet, why not use cpio? Why not? My feeling is that tar is a lot easier, and probably a lot more portable. I look at the cpio man page and there are all sorts of different formats and to me (and probably a lot of newbies) it's more complicated than it needs to be. Besides I don't think you save anything with it as compared to tar. But there are lots of people (bsd types maybe) that are really conversant with cpio. I figured it would complicate matters more if it were brought up on a newbie list :). Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] tar questions, ta
My impression was it was a 2Mb RAW disk and when the filesystem (DOS) is written to it. 1.44MB remains. AFAIK, the 2mb capacity is 'unformatted' and 'formmatted' means that the drive is low-level prepped for use, timing tracks and so forth have been written. At that point it's a 1.44 meg capacity device. Then you get to format it (i.e., make a filesystem). Of course, formatting in linux is a two step process - fdformat and mkfs. People used to Windows and DOS think of it as one unified process. Your saying that it will just say put in next floppy like winzip does? Doh, if this works, then the previous question is redundant. If you add the -M flag, yes. :) Actually it will say prepare medium in /dev/fd0 or something similar - it doesn't know or care that fd0 is a floppy. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] tar questions, ta
1. I backed up an old system and i made the mistake of using absolute paths. I now want to extract from this tar ball into my newer system. I want to extract individual files and want to place them in an 'extraction' directory. Can i do it? How? (if i get it wrong i could write over existing files) 2. Speaking Volumes:-) What number of 1k blocks will fit on a 1.44Mb DOS floppy? (I dont know where to read the available space. I can see usage with 'df' or in konq, but not free space.) Do you create the volumed tarball direct to floppy's or on the hard drive first? What number of blocks would fit on a UDP? formatted CD-RW disk? tar -- Michael Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] tar questions, ta
On Sunday 02 March 2003 02:16 pm, Michael Adams wrote: What number of 1k blocks will fit on a 1.44Mb DOS floppy? (I dont know where to read the available space. I can see usage with 'df' or in konq, but not free space.) 1440 I guess -- Greg Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] tar questions, ta
What number of 1k blocks will fit on a 1.44Mb DOS floppy? (I dont know where to read the available space. I can see usage with 'df' or in konq, but not free space.) Like another poster said, 1440 1K blocks. On the other hand, that assumes you don't put a filesystem on it, which would take up some portion of the available space. Do you create the volumed tarball direct to floppy's or on the hard drive first? Either. But you can send the tar right to the floppy, without creating a file system first. You just need to visualize the floppy disk as a short, flattened tape :). # tar -cvf /dev/fd0 /path/to/data Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com