Where are the boot-up mount commands listed ?

Are they in a file somewhere ? It seems like they would have to be.

I wanted to take a look at them to get some ideas for what I am trying to do.

In other words, where is autoexec.bat kept ? rotfl!

thanks

Mounts are in /etc/fstab

Really ? I would have thought to see some actual mount commands. fstab looks like a table of things to be mounted.

Corky-PC:~ # cat /etc/fstab
/dev/disk/by-id/ata-SanDisk_SDSSDHP256G_133357400917-part1 swap                 swap       defaults              0 0
/dev/disk/by-id/ata-SanDisk_SDSSDHP256G_133357400917-part2 /                    ext4       acl,user_xattr,noatime,discard        1 1
/dev/disk/by-id/ata-SanDisk_SDSSDHP256G_133357400917-part3 /home                ext4       acl,user_xattr,noatime,discard        1 2
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
Corky-PC:~ # 

I was looking for something like :
mount /dev/sda3 /home type ext4… or something like this.

Those lines are the parameters for the mount command.

Have a read of

man systemd.mount

On 2013-11-09 21:36, hextejas wrote:
>
> Are they in a file somewhere ? It seems like they would have to be.
>
> I wanted to take a look at them to get some ideas for what I am trying
> to do.
>
> In other words, where is autoexec.bat kept ? rotfl!

rotlf indeed. Linux booting is way more complex than that. Have a look
at the doc.opensuse.org site; in the reference book there is a chapter
dedicated to the boot system. Two, actually, 7 and 8. Hum, and 9, and 10
for grub.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

When you find that statement, you will see that it is actualy

mount -a

See

man mount

to find out what it does.

And the place to find this is in one of the many scripts that are used to startup the system. Which ones to be used and in which sequence is determined by systemd. Above are enough links to more documentation.