The original /etc/fstab had two special entries for "fake" devices
/dev/ROOT and /dev/BOOT.
I still use the /dev/ROOT one (renamed /dev/root), and it catches my
root partition at startup.
However, /dev/BOOT never seems to exist, and I have to comment it out.
This raises two
questions in my mind.
1) I keep updating my system to new things, and from time to time use
a different root "/"
partition. Not being partiularaly an organized person, I
sometimes forget which partition
I'm using right now, and the /dev/root nomenclature hides this
both in /etc/fstab and in
the output of the 'df' command. Is there a quick way to figure
out which device it's on?
Just using "ls -lad /dev/root" produces the unreadable
lr-xr-xr-x 1 root root 34 Oct 23 08:11 /dev/root ->
scsi/host1/bus0/target1/lun0/part1
which I can usually figure out after some minutes of poking
around, but forget by next
month when I get curious again. This time it represents
/dev/sda1, but last time it was
/dev/sde1, before I removed a bunch of non-working and/or smaller
scsi devices. So
I'm looking for a quick way, which I will endeavor not to forget. :o)
2) What is /dev/boot or /dev/BOOT supposed to represent, and how
would a kernel know
which actual device it should point to? When it works, what do
people use it for?
++ kevin
--
Go back to the top: I almost always top-post
Kevin O'Gorman, PhD
--
gentoo-user@gentoo.org mailing list
/dev/ROOT and /dev/BOOT.
I still use the /dev/ROOT one (renamed /dev/root), and it catches my
root partition at startup.
However, /dev/BOOT never seems to exist, and I have to comment it out.
This raises two
questions in my mind.
1) I keep updating my system to new things, and from time to time use
a different root "/"
partition. Not being partiularaly an organized person, I
sometimes forget which partition
I'm using right now, and the /dev/root nomenclature hides this
both in /etc/fstab and in
the output of the 'df' command. Is there a quick way to figure
out which device it's on?
Just using "ls -lad /dev/root" produces the unreadable
lr-xr-xr-x 1 root root 34 Oct 23 08:11 /dev/root ->
scsi/host1/bus0/target1/lun0/part1
which I can usually figure out after some minutes of poking
around, but forget by next
month when I get curious again. This time it represents
/dev/sda1, but last time it was
/dev/sde1, before I removed a bunch of non-working and/or smaller
scsi devices. So
I'm looking for a quick way, which I will endeavor not to forget. :o)
2) What is /dev/boot or /dev/BOOT supposed to represent, and how
would a kernel know
which actual device it should point to? When it works, what do
people use it for?
++ kevin
--
Go back to the top: I almost always top-post
Kevin O'Gorman, PhD
--
gentoo-user@gentoo.org mailing list