Porteus v4 fstab generation

New features which should be implemented in Porteus; suggestions are welcome. All questions or problems with testing releases (alpha, beta, or rc) should go in their relevant thread here, rather than the Bug Reports section.

Porteus v4 fstab generation

Postby Alpvax » 12 Apr 2017, 14:20

I'm not sure why, because when I run the fstab function from linuxrc after the system has booted it generates correctly, but on boot up the file is generated with all the disk mount points listed under the "# Swap partitions:" heading instead of under "# Device partitions:".
Alpvax
White ninja
White ninja
 
Posts: 9
Joined: 11 Apr 2017, 11:41
Location: England
Distribution: Porteus v4 x64

Re: Porteus v4 fstab generation

Postby francois » 13 Apr 2017, 00:46

Please provide some outputs of your fstab.
Thanks.
Voltaire: Le mieux est l'ennemi du bien.
User avatar
francois
Contributor
Contributor
 
Posts: 4671
Joined: 28 Dec 2010, 15:25
Location: C'est l'autome, en forêt les arbres d'ici nous en mettent plein la vue: les rouges, jaunes ...
Distribution: kde xfce porteus manjaro kubun

Re: Porteus v4 fstab generation

Postby Alpvax » 18 Apr 2017, 13:27

Apologies for the delay, I have been away.

Upon boot, my fstab is generated as this (with cheatcode noauto):
EDIT: To confirm, leaving out the noauto cheatcode does not make a difference.
Code: Select all
# Do not edit this file as fstab is recreated automatically during every boot.
# Please use /etc/rc.d/rc.local or sysvinit scripts if you want to mount/unmount
# drive, filesystem or network share.

# System mounts:
aufs / aufs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
devtmpfs /dev devtmpfs defaults 0 0
devpts /dev/pts devpts rw,mode=0620,gid=5 0 0

# Device partitions:

# Swap partitions:
/dev/sda4 /mnt/sda4 ntfs-3g comment=x-gvfs-show,user,noatime,nodiratime,suid,dev,exec,async 0 0
/dev/sda1 /mnt/sda1 ntfs-3g comment=x-gvfs-show,user,noatime,nodiratime,suid,dev,exec,async 0 0
/dev/sda2 /mnt/sda2 ntfs-3g comment=x-gvfs-show,user,noatime,nodiratime,suid,dev,exec,async 0 0
/dev/sda3 /mnt/sda3 ntfs-3g comment=x-gvfs-show,user,noatime,nodiratime,suid,dev,exec,async 0 0
/dev/sdc1 /mnt/sdc1 ext4 comment=x-gvfs-show,comment=x-gvfs-icon=drive-removable-media,user,noatime,nodiratime,suid,dev,exec,async 0 0

# Hotplugged devices:


And if I re-run the relevant part of the linxrc script after booting, it becomes this:
Code: Select all
# Do not edit this file as fstab is recreated automatically during every boot.
# Please use /etc/rc.d/rc.local or sysvinit scripts if you want to mount/unmount
# drive, filesystem or network share.

# System mounts:
aufs / aufs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
devtmpfs /dev devtmpfs defaults 0 0
devpts /dev/pts devpts rw,mode=0620,gid=5 0 0

# Device partitions:
/dev/sda4 /mnt/sda4 ntfs-3g comment=x-gvfs-show,user,noatime,nodiratime,suid,dev,exec,async 0 0
/dev/sda1 /mnt/sda1 ntfs-3g comment=x-gvfs-show,user,noatime,nodiratime,suid,dev,exec,async 0 0
/dev/sda2 /mnt/sda2 ntfs-3g comment=x-gvfs-show,user,noatime,nodiratime,suid,dev,exec,async 0 0
/dev/sda3 /mnt/sda3 ntfs-3g comment=x-gvfs-show,user,noatime,nodiratime,suid,dev,exec,async 0 0
/dev/sdc1 /mnt/sdc1 ext4 comment=x-gvfs-show,comment=x-gvfs-icon=drive-removable-media,user,noatime,nodiratime,suid,dev,exec,async 0 0

# Swap partitions:

# Hotplugged devices:

Which is what I presume it should look like.
Alpvax
White ninja
White ninja
 
Posts: 9
Joined: 11 Apr 2017, 11:41
Location: England
Distribution: Porteus v4 x64


Return to Development



Who is online

Users browsing this forum: No registered users and 2 guests