[Info-vax] Uptime for OpenVMS

seasoned_geek roland at logikalsolutions.com
Sat May 21 11:12:01 EDT 2011


On May 14, 4:28 am, glen herrmannsfeldt <g... at ugcs.caltech.edu> wrote:
> Richard B. Gilbert <rgilber... at comcast.net> wrote:
>
> (snip)
>
> > Mount verification determines whether or not the disk that is physically
> > mounted is, in fact, the disk that is supposed to be mounted; e.g. the
> > disk label written on the disk matches that of the disk that is
> > supposedly mounted.
> > I'm not certain that Unix/Linux really cares what disk is mounted.
>
> It seems that Linux can mount either by device file (/dev/sda)
> or by disk label.  In the latter case, it will find the right
> disk, even if it moves to a different mount point.
>
> -- glen

Most flavors of Linux which use the latest Grub are only mounting
devices via a black magic device ID

roland at linux-c345:~> dir /dev/disk
total 0
drwxr-xr-x 2 root root 780 May 17 18:04 by-id
drwxr-xr-x 2 root root 140 May 17 13:04 by-label
drwxr-xr-x 2 root root 320 May 17 18:04 by-path
drwxr-xr-x 2 root root 200 May 20 11:43 by-uuid
roland at linux-c345:~> dir /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 May 17 18:04 3132-19E7 -> ../../sda5
lrwxrwxrwx 1 root root 10 May 17 18:04 3137-16F9 -> ../../sda1
lrwxrwxrwx 1 root root 10 May 17 18:04 41455b8f-d484-44f6-9a14-
ff91ce83ce6e -> ../../sda9
lrwxrwxrwx 1 root root 11 May 17 18:04 95b4fd2d-e393-443b-9d35-
f79063443bb8 -> ../../sda10
lrwxrwxrwx 1 root root 10 May 17 18:04 b3b042f5-aebc-4ffc-
b5d0-6b2e8d121eed -> ../../sda6
lrwxrwxrwx 1 root root 10 May 17 18:04
bbf35e07-9f76-4b4c-978e-0d090361d979 -> ../../sda8
lrwxrwxrwx 1 root root 10 May 17 18:04 d198a26d-b899-4212-
ad0a-68cbf1cc5a27 -> ../../sdb5
lrwxrwxrwx 1 root root 10 May 17 18:04 e3513c03-4fbe-4a0d-a1cb-
a31905b6997e -> .


roland at linux-c345:~> cat /etc/fstab
/dev/disk/by-id/ata-WDC_WD15EARS-00Z5B1_WD-WMAVU2237186-
part8 /                    ext4       acl,user_xattr        1 1
/dev/disk/by-id/ata-WDC_WD15EARS-00Z5B1_WD-WMAVU2237186-part7 /
db_data             ext3       acl,user_xattr        1 2
/dev/disk/by-id/ata-WDC_WD15EARS-00Z5B1_WD-WMAVU2237186-part9
swap                 swap       defaults              0 0
/dev/disk/by-id/ata-WDC_WD15EARS-00Z5B1_WD-WMAVU2237186-part6 /
books               ext3       defaults              1 2
/dev/disk/by-id/ata-WDC_WD15EARS-00Z5B1_WD-WMAVU2237186-part10 /
home                ext4       acl,user_xattr        1 2
/dev/disk/by-id/ata-WDC_WD10EACS-00ZJB0_WD-WCASJ1139194-part5 /
save_sets           ext3       defaults              1 2
/dev/disk/by-id/ata-WDC_WD15EARS-00Z5B1_WD-WMAVU2237186-part1 /windows/
C           vfat       users,gid=users,umask=0002,utf8=true 0 0
/dev/disk/by-id/ata-WDC_WD15EARS-00Z5B1_WD-WMAVU2237186-part5 /windows/
D           vfat       users,gid=users,umask=0002,utf8=true 0 0
proc                 /proc                proc
defaults              0 0
sysfs                /sys                 sysfs
noauto                0 0
debugfs              /sys/kernel/debug    debugfs
noauto                0 0
usbfs                /proc/bus/usb        usbfs
noauto                0 0
devpts               /dev/pts             devpts
mode=0620,gid=5       0 0




More information about the Info-vax mailing list