Hi folks
Summmary:
1. Is there a way to mount my spare partition /dev/sda7 on my chosen mount point
/home/knoppix/videos, instead of on /media/sda7, which is what /etc/fstab
specifies, ie
/dev/sda7 /media/sda7 reiserfs noauto,users,exec 0 0
2. I've got Knoppix live distro installed on hard disc, distro 7.0.2, kernel
release 3.3.7.
Thanks very much. John.
Full Details:
3. I'd like to mount my spare /dev/sda7 resiserfs partition on say
/home/knoppix/videos, an empty directory that I've created.
4. To do this, I was going to add the following entry in /etc/fstab:
/dev/sda7 /home/knoppix/videos reiserfs auto,users,exec 0 0
Note, I would use the "auto" option in column 4, to make the mount occur
automatically at boot time.
5. The present /etc/fstab (before adding anything to it) is:
# DEFAULT BASE FSTAB, UNCONFIGURED
proc /proc proc noauto 0 0
sysfs /sys sysfs noauto 0 0
/dev/sda6 / reiserfs relatime 0 0
/dev/sda5 none swap defaults 0 0
# Added by KNOPPIX
noauto,users,exec 0 0
# Added by KNOPPIX
/dev/sda3 /media/sda3 ntfs noauto,users,exec,umask=000,uid=knoppix,gid=knoppi x 0
0
# Added by KNOPPIX
/dev/sda7 /media/sda7 reiserfs noauto,users,exec 0 0
# Added by KNOPPIX
/dev/sr0 /media/sr0 auto noauto,users,exec 0 0
# Added by KNOPPIX
/dev/sda2 /media/sda2 ntfs noauto,users,exec,umask=000,uid=knoppix,gid=knoppi x 0
0
# Added by KNOPPIX
/dev/sda1 /media/sda1 ntfs noauto,users,exec,umask=000,uid=knoppix,gid=knoppi x 0
0
6. As a test, I commented out the following lines in /etc/fstab:
# Added by KNOPPIX
/dev/sda7 /media/sda7 reiserfs noauto,users,exec 0 0
But I discovered that the system ADDS THESE LINES AGAIN to /etc/fstab. So I'm
concerned that if I add my new line, ie
/dev/sda7 /home/knoppix/videos reiserfs auto,users,exec 0 0
that even if I comment-out the following 2 lines, ie
# Added by KNOPPIX
/dev/sda7 /media/sda7 reiserfs noauto,users,exec 0 0
that the system will re-add them. This would result in a CLASH between the 2
lines as follows:
/dev/sda7 /home/knoppix/videos reiserfs auto,users,exec 0 0
/dev/sda7 /media/sda7 reiserfs noauto,users,exec 0 0
(The reason I want to comment-out the line
/dev/sda7 /media/sda7 reiserfs noauto,users,exec 0 0
rather than remove it, is so that I can see what USED TO BE in /etc/fstab.)
MAIN QUESTION:
Is there a way to stop Knoppix re-adding the entry
/dev/sda7 /media/sda7 reiserfs noauto,users,exec 0 0
so that just my new entry
/dev/sda7 /home/knoppix/videos reiserfs auto,users,exec 0 0
is used.
7. If don't alter /etc/fstab, I can MANUALLY mount /dev/sda7 on my mount point
thus
$ sudo mount -t reiserfs /dev/sda7 /home/knoppix/videos
But this is not a sensible state of affairs because /etc/fstab still contains
/dev/sda7 /media/sda7 reiserfs noauto,users,exec 0 0
which is a contradiction.
Last edited by winger9; 06-09-2014 at 04:45 PM. Reason: typo
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$13.99
HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin
$12.90
Samsung 128GB (4x 32GB) M86B4G70DM0-CMA3 PC3-14900L 4Rx4 DDR3 ECC Reg Server Mem
$39.99
Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP
$35.99
Lot of 50 4GB PC4 Desktop Memory DDR4 RAM LOT SAMSUNG SK HYNIX MICRON + MORE
$150.00
HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM
$9.64
A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G
$13.99
Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM
$13.25
A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM
$287.96
G.Skill RipJaws V 16GB (2x8GB) PC4-28800 (DDR4-3600) Memory F4-3600C16D-16GVKC
$45.00