Re: Renaming lost+found
On Sun, Jan 28, 2001 at 01:35:44PM -0800, H. Peter Anvin wrote: > *renamed*, i.e. does the tools (e2fsck ) use "/lost+found" by name, > or by inode? As far as I know it always uses the same inode number e2fsck uses /lost+found by name, not by inode. It will recreate a new lost+found directory if one doesn't exist. *However*, if the filesystem is badly corrupted, it's possible that when it allocates blocks for the lost+found directory, it might override a datablock that might possibly be recoverable if one were truly desparate and using a disk editor to search for keywords. (This would only happen if part of the inode table had gotten corrupted due to a hardware error --- i.e., such as the anecdotal evidence of DMA units that write garbage to the disk because during a power failure, where it is conjectured that the +5V power rail drops below the critical working of the memory faster than +12V power rail drops below the critical working volutage of the disk drive --- so that the record in the inode table that a certain disk block was in use is erased.) So if you really dislike lost+found, go ahead and delete it. It removes a somewhat tiny safeguard, but being able to take advantage of it requires wizard-level skills (there are no tools to do this automatically, since it requires human intuition and a knowledge of what file you might be trying to save.) So it would probably only be used in the case of someone who had 10 year's of Ph.D. research that wasn't backed up, and this was the only way they could get the data back. And although not doing disk backups is grounds for general redicule, losing ten years of graduate research would probably be reguarded by most as cruel and unusual punishment. But if you're not in a Ph.D. program, it doesn't matter, yes? (And in any case, we ALL do backups, all the time, religiously and on a regular schedule, RIGHT? :-) - Ted - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Renaming lost+found
H. Peter Anvin writes: > Hello people... the original question was: can lost+found be > *renamed*, i.e. does the tools (e2fsck ) use "/lost+found" by name, > or by inode? As far as I know it always uses the same inode number > (11), but I don't know if that is anywhere enforced. Bzzt. /lost+found just happens to use inode 11 on 99.9% of filesystems because it is the first inode available when mke2fs is creating the filesystem. If you check , it has: #define EXT2_GOOD_OLD_FIRST_INO 11 It is perfectly acceptable to delete lost+found, and create it again with mklost+found, and chances are it will have a different inode... Just tested it, and sure enough, I got inode 612 for lost+found this time. I'm pretty sure that e2fsck looks for the name /lost+found, rather than inode 11. This means that with stock e2fsck, mke2fs, mklost+found, you can't rename lost+found and expect anything to work. However, I would imagine it isn't _too_ hard to change these tools to create a different directory, and for e2fsck to look for the standard or the new directory to put nameless inodes. Looking at the e2fsck source, there only appears to be a single instance of the string "lost+found", in e2fsck/pass3.c:get_lost_and_found(): static const char name[] = "lost+found"; Same with misc/mke2fs.c:create_lost_and_found() and misc/mklost+found. Cheers, Andreas PS - don't blame me if you never find your files after a bad crash. At least when it is called "lost+found" you occasionally have a look in there. -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Renaming lost+found
On Sun, 28 Jan 2001, Mo McKinlay wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Today, H. Peter Anvin ([EMAIL PROTECTED]) wrote: > > > Hello people... the original question was: can lost+found be > > *renamed*, i.e. does the tools (e2fsck ) use "/lost+found" by name, > > or by inode? As far as I know it always uses the same inode number > > (11), but I don't know if that is anywhere enforced. > > I seem to recall e2fsck complaining when I renamed lost+found, but that > may well be a consistency check. Don't quote me on this, though. (pretty easy to find out:) [root]:# fsck -f /test Parallelizing fsck version 1.19 (13-Jul-2000) e2fsck 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09 Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity /lost+found not found. Create? It created lost+found with inode 183 as 11 was used by renamed dir. No idea if it would have trouble salvaging a corrupt fs after this. (but logic says no it dare not) -Mike - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Renaming lost+found
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Today, H. Peter Anvin ([EMAIL PROTECTED]) wrote: > Hello people... the original question was: can lost+found be > *renamed*, i.e. does the tools (e2fsck ) use "/lost+found" by name, > or by inode? As far as I know it always uses the same inode number > (11), but I don't know if that is anywhere enforced. I seem to recall e2fsck complaining when I renamed lost+found, but that may well be a consistency check. Don't quote me on this, though. Mo. - -- Mo McKinlay [EMAIL PROTECTED] - - GnuPG/PGP Key: pub 1024D/76A275F9 2000-07-22 -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjp0kgYACgkQRcGgB3aidfngIACdH4Ze9KRUS/jExERYM0Jt0n4e WyMAoKxzOr7KnVeEoHCHKlCBjNcncx8U =myDq -END PGP SIGNATURE- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Renaming lost+found
Followup to: <[EMAIL PROTECTED]> By author:Thunder from the hill <[EMAIL PROTECTED]> In newsgroup: linux.dev.kernel > > > A file-system without a lost+found directory is like love without sex. > You mean, possible but leaving you unsatisfied? Well, I think a file > system without a lost+found is a lot worse. > Hello people... the original question was: can lost+found be *renamed*, i.e. does the tools (e2fsck ) use "/lost+found" by name, or by inode? As far as I know it always uses the same inode number (11), but I don't know if that is anywhere enforced. -hpa -- <[EMAIL PROTECTED]> at work, <[EMAIL PROTECTED]> in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Renaming lost+found
On Friday, January 26, 2001 01:19:49 PM -0500 James Lewis Nance <[EMAIL PROTECTED]> wrote: > FWIW IBM's JFS file system does not have a lost+found directory. I dont > remember if reiserfs does or not. > reiserfsck creates it. -chris - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Renaming lost+found
On Friday, January 26, 2001 01:19:49 PM -0500 James Lewis Nance [EMAIL PROTECTED] wrote: FWIW IBM's JFS file system does not have a lost+found directory. I dont remember if reiserfs does or not. reiserfsck creates it. -chris - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Renaming lost+found
Followup to: [EMAIL PROTECTED] By author:Thunder from the hill [EMAIL PROTECTED] In newsgroup: linux.dev.kernel A file-system without a lost+found directory is like love without sex. You mean, possible but leaving you unsatisfied? Well, I think a file system without a lost+found is a lot worse. Hello people... the original question was: can lost+found be *renamed*, i.e. does the tools (e2fsck c) use "/lost+found" by name, or by inode? As far as I know it always uses the same inode number (11), but I don't know if that is anywhere enforced. -hpa -- [EMAIL PROTECTED] at work, [EMAIL PROTECTED] in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Renaming lost+found
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Today, H. Peter Anvin ([EMAIL PROTECTED]) wrote: Hello people... the original question was: can lost+found be *renamed*, i.e. does the tools (e2fsck c) use "/lost+found" by name, or by inode? As far as I know it always uses the same inode number (11), but I don't know if that is anywhere enforced. I seem to recall e2fsck complaining when I renamed lost+found, but that may well be a consistency check. Don't quote me on this, though. Mo. - -- Mo McKinlay [EMAIL PROTECTED] - - GnuPG/PGP Key: pub 1024D/76A275F9 2000-07-22 -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjp0kgYACgkQRcGgB3aidfngIACdH4Ze9KRUS/jExERYM0Jt0n4e WyMAoKxzOr7KnVeEoHCHKlCBjNcncx8U =myDq -END PGP SIGNATURE- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Renaming lost+found
On Sun, 28 Jan 2001, Mo McKinlay wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Today, H. Peter Anvin ([EMAIL PROTECTED]) wrote: Hello people... the original question was: can lost+found be *renamed*, i.e. does the tools (e2fsck c) use "/lost+found" by name, or by inode? As far as I know it always uses the same inode number (11), but I don't know if that is anywhere enforced. I seem to recall e2fsck complaining when I renamed lost+found, but that may well be a consistency check. Don't quote me on this, though. (pretty easy to find out:) [root]:# fsck -f /test Parallelizing fsck version 1.19 (13-Jul-2000) e2fsck 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09 Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity /lost+found not found. Createy? It created lost+found with inode 183 as 11 was used by renamed dir. No idea if it would have trouble salvaging a corrupt fs after this. (but logic says no it dare not) -Mike - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Renaming lost+found
H. Peter Anvin writes: Hello people... the original question was: can lost+found be *renamed*, i.e. does the tools (e2fsck c) use "/lost+found" by name, or by inode? As far as I know it always uses the same inode number (11), but I don't know if that is anywhere enforced. Bzzt. /lost+found just happens to use inode 11 on 99.9% of filesystems because it is the first inode available when mke2fs is creating the filesystem. If you check linux/ext2_fs.h, it has: #define EXT2_GOOD_OLD_FIRST_INO 11 It is perfectly acceptable to delete lost+found, and create it again with mklost+found, and chances are it will have a different inode... Just tested it, and sure enough, I got inode 612 for lost+found this time. I'm pretty sure that e2fsck looks for the name /lost+found, rather than inode 11. This means that with stock e2fsck, mke2fs, mklost+found, you can't rename lost+found and expect anything to work. However, I would imagine it isn't _too_ hard to change these tools to create a different directory, and for e2fsck to look for the standard or the new directory to put nameless inodes. Looking at the e2fsck source, there only appears to be a single instance of the string "lost+found", in e2fsck/pass3.c:get_lost_and_found(): static const char name[] = "lost+found"; Same with misc/mke2fs.c:create_lost_and_found() and misc/mklost+found. Cheers, Andreas PS - don't blame me if you never find your files after a bad crash. At least when it is called "lost+found" you occasionally have a look in there. -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Renaming lost+found
> A file-system without a lost+found directory is like love without sex. You mean, possible but leaving you unsatisfied? Well, I think a file system without a lost+found is a lot worse. Thunder --- Woah... I did a "cat /boot/vmlinuz >> /dev/audio" - and I think I heard god... - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Renaming lost+found
[EMAIL PROTECTED] writes: > On 01/26/01 01:19 PM James Lewis Nance <[EMAIL PROTECTED]> wrote: >> FWIW IBM's JFS file system does not have a lost+found directory. I dont >> remember if reiserfs does or not. > > Actually it does. > > From one of my rs/6000's sitting here, with a pretty much default AIX That is a completely different JFS. AIX 4 has an encumbered JFS that is tightly integrated into the VM system. IBM wrote a new JFS for OS/2 Warp Server. The new JFS is being ported to Linux and AIX 5. G should have called it jfs2 then. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Renaming lost+found
Hi, On Fri, Jan 26, 2001 at 06:05:54PM -0200, Rodrigo Barbosa (aka morcego) wrote: > > I think JFS indeed doesn't have it. And ReiserFS doesn't too. This > should be common place for journaling filesystems. No, it's nothing to do with journaling or not. Even journaling filesystems can suffer IO errors or corrupt disk blocks, and any case where you have a file whose name has been lost due to such corruption needs to be dealt with by the fsck tool. Traditionally, fsck puts such files into lost+found, and in the presence of data corruption, it will still need to do so even with a journaling filesystem. ext3 uses lost+found in exactly the same way as ext2 for this reason. Cheers, Stephen - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Renaming lost+found
Hi, On Fri, Jan 26, 2001 at 06:05:54PM -0200, Rodrigo Barbosa (aka morcego) wrote: I think JFS indeed doesn't have it. And ReiserFS doesn't too. This should be common place for journaling filesystems. No, it's nothing to do with journaling or not. Even journaling filesystems can suffer IO errors or corrupt disk blocks, and any case where you have a file whose name has been lost due to such corruption needs to be dealt with by the fsck tool. Traditionally, fsck puts such files into lost+found, and in the presence of data corruption, it will still need to do so even with a journaling filesystem. ext3 uses lost+found in exactly the same way as ext2 for this reason. Cheers, Stephen - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Renaming lost+found
[EMAIL PROTECTED] writes: On 01/26/01 01:19 PM James Lewis Nance [EMAIL PROTECTED] wrote: FWIW IBM's JFS file system does not have a lost+found directory. I dont remember if reiserfs does or not. Actually it does. From one of my rs/6000's sitting here, with a pretty much default AIX That is a completely different JFS. AIX 4 has an encumbered JFS that is tightly integrated into the VM system. IBM wrote a new JFS for OS/2 Warp Server. The new JFS is being ported to Linux and AIX 5. G should have called it jfs2 then. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Renaming lost+found
A file-system without a lost+found directory is like love without sex. You mean, possible but leaving you unsatisfied? Well, I think a file system without a lost+found is a lot worse. Thunder --- Woah... I did a "cat /boot/vmlinuz /dev/audio" - and I think I heard god... - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Renaming lost+found
On 01/26/01 01:19 PM James Lewis Nance <[EMAIL PROTECTED]> wrote: >FWIW IBM's JFS file system does not have a lost+found directory. I dont >remember if reiserfs does or not. >Jim Actually it does. >From one of my rs/6000's sitting here, with a pretty much default AIX install: # uname -a AIX mon431 3 4 003729474C00 # oslevel 4.3.3.0 # mount node mountedmounted overvfs --- --- -- /dev/hd4 /jfs /dev/hd2 /usr jfs /dev/hd9var /var jfs /dev/hd3 /tmp jfs /dev/hd1 /homejfs # find / -name "lost+found" /lost+found /var/lost+found /tmp/lost+found /home/lost+found /usr/lost+found Neal Any opinions expressed above or below are entirely my own and may not reflect those of my employers. The information contained in this e-mail message is confidential, intended only for the receipt and use of the individual(s) or entity(s) named above. If the reader of this email message is not the intended recipient, or the employee or agent responsible for its delivery to the intended and or addressed recipient, you are hereby notified that any review, dissemination, distribution or copying of this communication is strictly prohibited except at the express consent of its author. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Renaming lost+found
alias ls="ls -I "lost+found"' On Fri, 26 Jan 2001, Mike Harrold wrote: > > > > > > An other maybe too obvious way, could be to : > > > > alias ls='ls | grep -v "lost+found"' > > This turns multiple column output into one single column. > > Regards, > > /Mike - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Renaming lost+found
On Fri, Jan 26, 2001 at 01:19:49PM -0500, James Lewis Nance wrote: > On Fri, Jan 26, 2001 at 08:49:31AM -0500, Richard B. Johnson wrote: > > > On Fri, 26 Jan 2001, Rob Kaper wrote: > > > Is there a way to rename lost+found ?? It bothers me to see it in ls all the > > > Get used to it. This is part of the Linux/Unix heritage! A file-system > > without a lost+found directory is like love without sex. > > FWIW IBM's JFS file system does not have a lost+found directory. I dont > remember if reiserfs does or not. I think JFS indeed doesn't have it. And ReiserFS doesn't too. This should be common place for journaling filesystems. []s -- Rodrigo Barbosa (morcego) - rodrigob at conectiva.com.br Conectiva R Team- http://distro.conectiva.com.br "Quis custodiet ipsos custodiet?" - http://www.conectiva.com PGP signature
Re: Renaming lost+found
An other maybe too obvious way, could be to : alias ls='ls | grep -v "lost+found"' if you are really annoyed by this tiny thing, which is IMHO, really the least thing i could be annoyed of... This took part on Unix file system design, from the old days, as mentioned earlier by others. Also think, that you might be happy the day, it will be usefull... ;-) Regards, Patrick On Fri, 26 Jan 2001, Andreas Dilger wrote: > Rob Kaper writes: > > Is there a way to rename lost+found ?? It bothers me to see it in ls all the > > time because 99.9% of my time it's just useless and I really think > > .lost+found (a hidden file) would make much more sense for daily use. I > > assume this would require some ext2 changes as well as a patch to e2fsck > > etc. (with backwards compatibility of course) > - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Renaming lost+found
Rob Kaper writes: > Is there a way to rename lost+found ?? It bothers me to see it in ls all the > time because 99.9% of my time it's just useless and I really think > .lost+found (a hidden file) would make much more sense for daily use. I > assume this would require some ext2 changes as well as a patch to e2fsck > etc. (with backwards compatibility of course) You could also just delete it, but then you run into problems when e2fsck is run on a broken filesystem. Use ext3 instead. The lost+found dir is in many (most?) Unix filesystems, for use when things go bad. You _could_ change it to be a hidden file, but then you would have to remember where it was after e2fsck moves half of your files into it after a crash. It probably wouldn't be too much work to change e2fsck. You also need to change mke2fs and mklost+found as well. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Renaming lost+found
On Fri, Jan 26, 2001 at 08:49:31AM -0500, Richard B. Johnson wrote: > On Fri, 26 Jan 2001, Rob Kaper wrote: > > Is there a way to rename lost+found ?? It bothers me to see it in ls all the > Get used to it. This is part of the Linux/Unix heritage! A file-system > without a lost+found directory is like love without sex. FWIW IBM's JFS file system does not have a lost+found directory. I dont remember if reiserfs does or not. Jim - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Renaming lost+found
On Fri, 26 Jan 2001, Rob Kaper wrote: > If this is ext2 specific, just say so and I'll find a better list to discuss > this: (any good ext2 lists available for example?) > > Is there a way to rename lost+found ?? It bothers me to see it in ls all the > time because 99.9% of my time it's just useless and I really think > .lost+found (a hidden file) would make much more sense for daily use. I > assume this would require some ext2 changes as well as a patch to e2fsck > etc. (with backwards compatibility of course) Get used to it. This is part of the Linux/Unix heritage! A file-system without a lost+found directory is like love without sex. Cheers, Dick Johnson Penguin : Linux version 2.4.0 on an i686 machine (799.53 BogoMips). "Memory is like gasoline. You use it up when you are running. Of course you get it all back when you reboot..."; Actual explanation obtained from the Micro$oft help desk. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Renaming lost+found
If this is ext2 specific, just say so and I'll find a better list to discuss this: (any good ext2 lists available for example?) Is there a way to rename lost+found ?? It bothers me to see it in ls all the time because 99.9% of my time it's just useless and I really think .lost+found (a hidden file) would make much more sense for daily use. I assume this would require some ext2 changes as well as a patch to e2fsck etc. (with backwards compatibility of course) Regards, Rob -- Rob Kaper | [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] | http://capsi.com/ - telnet://chat.capsi.com:2300/ | 'What? In riddles?' said Gandalf. 'No! For I was talking aloud | to myself. A habit of the old: they choose the wisest person | present to speak to; the long explanations needed by the young | are wearying.' - "Lord of the Rings", JRR Tolkien - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Renaming lost+found
If this is ext2 specific, just say so and I'll find a better list to discuss this: (any good ext2 lists available for example?) Is there a way to rename lost+found ?? It bothers me to see it in ls all the time because 99.9% of my time it's just useless and I really think .lost+found (a hidden file) would make much more sense for daily use. I assume this would require some ext2 changes as well as a patch to e2fsck etc. (with backwards compatibility of course) Regards, Rob -- Rob Kaper | [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] | http://capsi.com/ - telnet://chat.capsi.com:2300/ | 'What? In riddles?' said Gandalf. 'No! For I was talking aloud | to myself. A habit of the old: they choose the wisest person | present to speak to; the long explanations needed by the young | are wearying.' - "Lord of the Rings", JRR Tolkien - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Renaming lost+found
On Fri, 26 Jan 2001, Rob Kaper wrote: If this is ext2 specific, just say so and I'll find a better list to discuss this: (any good ext2 lists available for example?) Is there a way to rename lost+found ?? It bothers me to see it in ls all the time because 99.9% of my time it's just useless and I really think .lost+found (a hidden file) would make much more sense for daily use. I assume this would require some ext2 changes as well as a patch to e2fsck etc. (with backwards compatibility of course) Get used to it. This is part of the Linux/Unix heritage! A file-system without a lost+found directory is like love without sex. Cheers, Dick Johnson Penguin : Linux version 2.4.0 on an i686 machine (799.53 BogoMips). "Memory is like gasoline. You use it up when you are running. Of course you get it all back when you reboot..."; Actual explanation obtained from the Micro$oft help desk. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Renaming lost+found
On Fri, Jan 26, 2001 at 08:49:31AM -0500, Richard B. Johnson wrote: On Fri, 26 Jan 2001, Rob Kaper wrote: Is there a way to rename lost+found ?? It bothers me to see it in ls all the Get used to it. This is part of the Linux/Unix heritage! A file-system without a lost+found directory is like love without sex. FWIW IBM's JFS file system does not have a lost+found directory. I dont remember if reiserfs does or not. Jim - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Renaming lost+found
An other maybe too obvious way, could be to : alias ls='ls | grep -v "lost+found"' if you are really annoyed by this tiny thing, which is IMHO, really the least thing i could be annoyed of... This took part on Unix file system design, from the old days, as mentioned earlier by others. Also think, that you might be happy the day, it will be usefull... ;-) Regards, Patrick On Fri, 26 Jan 2001, Andreas Dilger wrote: Rob Kaper writes: Is there a way to rename lost+found ?? It bothers me to see it in ls all the time because 99.9% of my time it's just useless and I really think .lost+found (a hidden file) would make much more sense for daily use. I assume this would require some ext2 changes as well as a patch to e2fsck etc. (with backwards compatibility of course) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Renaming lost+found
On Fri, Jan 26, 2001 at 01:19:49PM -0500, James Lewis Nance wrote: On Fri, Jan 26, 2001 at 08:49:31AM -0500, Richard B. Johnson wrote: On Fri, 26 Jan 2001, Rob Kaper wrote: Is there a way to rename lost+found ?? It bothers me to see it in ls all the Get used to it. This is part of the Linux/Unix heritage! A file-system without a lost+found directory is like love without sex. FWIW IBM's JFS file system does not have a lost+found directory. I dont remember if reiserfs does or not. I think JFS indeed doesn't have it. And ReiserFS doesn't too. This should be common place for journaling filesystems. []s -- Rodrigo Barbosa (morcego) - rodrigob at conectiva.com.br Conectiva RD Team- http://distro.conectiva.com.br "Quis custodiet ipsos custodiet?" - http://www.conectiva.com PGP signature
Re: Renaming lost+found
alias ls="ls -I "lost+found"' On Fri, 26 Jan 2001, Mike Harrold wrote: An other maybe too obvious way, could be to : alias ls='ls | grep -v "lost+found"' This turns multiple column output into one single column. Regards, /Mike - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Renaming lost+found
On 01/26/01 01:19 PM James Lewis Nance [EMAIL PROTECTED] wrote: FWIW IBM's JFS file system does not have a lost+found directory. I dont remember if reiserfs does or not. Jim Actually it does. From one of my rs/6000's sitting here, with a pretty much default AIX install: # uname -a AIX mon431 3 4 003729474C00 # oslevel 4.3.3.0 # mount node mountedmounted overvfs --- --- -- /dev/hd4 /jfs /dev/hd2 /usr jfs /dev/hd9var /var jfs /dev/hd3 /tmp jfs /dev/hd1 /homejfs # find / -name "lost+found" /lost+found /var/lost+found /tmp/lost+found /home/lost+found /usr/lost+found Neal Any opinions expressed above or below are entirely my own and may not reflect those of my employers. The information contained in this e-mail message is confidential, intended only for the receipt and use of the individual(s) or entity(s) named above. If the reader of this email message is not the intended recipient, or the employee or agent responsible for its delivery to the intended and or addressed recipient, you are hereby notified that any review, dissemination, distribution or copying of this communication is strictly prohibited except at the express consent of its author. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/