RE: Guessing filesystem while unmounted

2003-02-18 Thread Arik Baratz
Why can't the mailing list server put itself in the Reply-To: field? It's annoying! -Original Message- From: Yedidyah Bar-David [mailto:[EMAIL PROTECTED]] [snip] In practice, it happened to me quite many times that a used FAT partition was mke2fsed, used (as ext2), and then mounted

Re: Guessing filesystem while unmounted

2003-02-18 Thread Yedidyah Bar-David
On Tue, Feb 18, 2003 at 11:09:36AM +0200, Arik Baratz wrote: Why can't the mailing list server put itself in the Reply-To: field? It's annoying! -Original Message- From: Yedidyah Bar-David [mailto:[EMAIL PROTECTED]] [snip] In practice, it happened to me quite many times that

Re: Guessing filesystem while unmounted

2003-02-18 Thread Nadav Har'El
On Tue, Feb 18, 2003, Uri Itscowits wrote about Re: Guessing filesystem while unmounted: First I want to thank everybody for the time effort, ( although some responses show, some guys did NOT spend enough time reading my problem all the way {: ) :) I hope my response wasn't one

Re: Guessing filesystem while unmounted

2003-02-18 Thread Muli Ben-Yehuda
On Tue, Feb 18, 2003 at 11:09:36AM +0200, Arik Baratz wrote: Why can't the mailing list server put itself in the Reply-To: field? It's annoying! Why can't people learn to use procmail? it's annoying! ObLinux: Alan Cox has decreed that 2.5 is approaching usability. (My words, not his).

RE: Guessing filesystem while unmounted

2003-02-18 Thread linux_il
On Tue, Feb 18, 2003 at 01:41:01PM +0200, [EMAIL PROTECTED] wrote: Why can't people learn to use procmail? it's annoying! Because part of supporting open standards is that you don't have to use specific software in order to enjoy a forum properly. I can't use procmail because

Re: Guessing filesystem while unmounted

2003-02-18 Thread Muli Ben-Yehuda
Dear Amos, When I replied privately to you in the message you quote, I did it for a reason. By replying to the list, you are making tje unforgivable sin of making private a public correspondence. With every additional message you send, you take another gigantic leap towards my killfile. Please

Re: Guessing filesystem while unmounted

2003-02-17 Thread Muli Ben-Yehuda
On Mon, Feb 17, 2003 at 04:57:52PM +0200, Uri Itscowits wrote: Hi there, I need to guess which is the root filesystem ( on GNU/Linux OC), while all partitions are still unmounted. You can do it the same way the kernel does it in the early boot stages - by getting the information from

Re: Guessing filesystem while unmounted

2003-02-17 Thread Nadav Har'El
On Mon, Feb 17, 2003, Muli Ben-Yehuda wrote about Re: Guessing filesystem while unmounted: You can do it the same way the kernel does it in the early boot stages - by getting the information from lilo, via the boot record. You'll need to read and parse the boot record, though. Mounting each

Re: Guessing filesystem while unmounted

2003-02-17 Thread Muli Ben-Yehuda
On Mon, Feb 17, 2003 at 05:48:07PM +0200, Nadav Har'El wrote: Note, by the way, that newer distributions (such as Redhat 8) use Grub, not LILO, so anything relying on the structure of a lilo boot record isn't foolproof either. I never investigated this, so take it with a grain of salt, but I

Re: Guessing filesystem while unmounted

2003-02-17 Thread Nadav Har'El
On Mon, Feb 17, 2003, Muli Ben-Yehuda wrote about Re: Guessing filesystem while unmounted: On Mon, Feb 17, 2003 at 05:48:07PM +0200, Nadav Har'El wrote: Note, by the way, that newer distributions (such as Redhat 8) use Grub, not LILO, so anything relying on the structure of a lilo boot

Re: Guessing filesystem while unmounted

2003-02-17 Thread Nadav Har'El
On Mon, Feb 17, 2003, Orna Agmon wrote about Re: Guessing filesystem while unmounted: Well, as far as I know Grub does not know where your root filesystem (/) lives, until it first finds the boot filesystem, finds the grub/grub.conf file in it (grub understands the ext2 filesystem), reads

Re: Guessing filesystem while unmounted

2003-02-17 Thread erez
doing : awk '{if ($2==/)print $1}' /etc/fstab will print either the root partition (e.g. /dev/hda2 ) or the root label ( e.g. LABEL=/ ) the first is trevial, the second, can be found by running e2label on all partitions and seeing wich has the right label erez. Uri Itscowits wrote: Hi

RE: Guessing filesystem while unmounted

2003-02-17 Thread Arik Baratz
-Original Message- From: Uri Itscowits [mailto:[EMAIL PROTECTED]] Hi there, I need to guess which is the root filesystem ( on GNU/Linux OC), while all partitions are still unmounted. I could of course mount each in turn, and look for /etc/fstab or so, but I am looking

Re: Guessing filesystem while unmounted

2003-02-17 Thread Shaul Karl
On Mon, Feb 17, 2003 at 05:02:59PM +0200, Uri Itscowits wrote: Hi there, I need to guess which is the root filesystem ( on GNU/Linux OC), while all partitions are still unmounted. I could of course mount each in turn, and look for /etc/fstab or so, but I am looking for a way which

Re: Guessing filesystem while unmounted

2003-02-17 Thread Yedidyah Bar-David
On Mon, Feb 17, 2003 at 05:49:26PM +0200, Muli Ben-Yehuda wrote: On Mon, Feb 17, 2003 at 05:48:07PM +0200, Nadav Har'El wrote: Note, by the way, that newer distributions (such as Redhat 8) use Grub, not LILO, so anything relying on the structure of a lilo boot record isn't foolproof

Re: Guessing filesystem while unmounted

2003-02-17 Thread Uri Itscowits
Hi all, First I want to thank everybody for the time effort, ( although some responses show, some guys did NOT spend enough time reading my problem all the way {: ) Since no one gave me a good answer, (except for Muli's, which was my idea to begin with) I tried to look for the way