Commit b340aae9 authored by Gerardo Exequiel Pozzi's avatar Gerardo Exequiel Pozzi
Browse files

[archiso] Update fstab and "source dev" of aufs.

* Change from none -> union (looks like util-linux is confused BUG?)
    Avoid the message: "umount aufs failed: not found" at shutdown.
    #1 mount -t tmpfs none /something
    #2 mount -t tmpfs xxxx /something
    The output of findmnt -rnu -o SOURCE will be blank in #1

.

* Change from aufs -> auto, make its more generic.

* Update devpts and shm entries.
Signed-off-by: default avatarGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
parent 6033a1ea
......@@ -127,7 +127,7 @@ archiso_mount_handler() {
msg "done."
msg ":: Mounting root (aufs) filesystem"
/bin/mount -t aufs -o dirs=/rw_branch=rw none "${newroot}"
/bin/mount -t aufs -o dirs=/rw_branch=rw union "${newroot}"
if [ $? -ne 0 ]; then
echo "ERROR: while mounting root (aufs) filesystem."
launch_interactive_shell
......
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
aufs / aufs noauto 0 0
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
### Auto generated entries get added here:
union / auto noauto 0 0
devpts /dev/pts devpts defaults 0 0
shm /dev/shm tmpfs nodev,nosuid 0 0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment