[colug-432] Fstab Questions

Stephen P. Molnar s.molnar at sbcglobal.net
Tue Mar 5 14:14:55 EST 2019


I have just reinstalled Debian Stretch and have soee questions about the 
fstab.

I have installed a new hdc.

Here is my durectiry stucture:

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 465.8G 0 disk
├─sda1 8:1 0 457.9G 0 part /
├─sda2 8:2 0 1K 0 part
└─sda5 8:5 0 7.9G 0 part [SWAP]
sdb 8:16 0 1.8T 0 disk
├─sdb1 8:17 0 1.8T 0 part /media/comp/900b5f0b-4f3d-4a64-8c91-29aee4c6fd07
├─sdb2 8:18 0 1K 0 part
└─sdb5 8:21 0 7.9G 0 part
sdc 8:32 0 465.8G 0 disk
└─sdc1 8:33 0 465.8G 0 part /media/comp/1f363165-2c59-4236-850d-36d1e807099e
sr0 11:0 1 1024M 0 rom

Here is what I have the installed fstab:

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=4dc278b7-1792-4e89-b67e-a517fce97d19 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=acfb9d26-69c6-4489-88fc-12f5c50bda97 none swap sw 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0

Here is what I'm proposing:

/dev/hda1 / ext4 defaults 0 1
/dev/hda5 none swap sw 0 0
/dev/hdb1 /hdb1 ext4 defaults 0 0
/dev/hdc1 /hdc1 ext4 defaults 0 0

There are two key questions:

1. Will the boot proceed to completion?
2. Will users have read/write permission?

Finally, if the answer(s), to either or both, is/are 'no' - what should 
the fstab entries be in order to allow users to Read/Write?

Thanks in advance.

-- 
Stephen P. Molnar, Ph.D.
Consultant
www.molecular-modeling.net
(614)312-7528 (c)
Skype: smolnar1



More information about the colug-432 mailing list