Tiny Core Linux

General TC => General TC Talk => Topic started by: remus on December 12, 2011, 05:14:03 AM

Title: Fstab vs mount
Post by: remus on December 12, 2011, 05:14:03 AM
Hi all,

I'm getting close to creating a bootable samba file server on a CD :)
I've got everything working fine and stable in VM Workstation.

I'm mounting the hard drive that will hold my samba shares with a mount command added to /opt/bootlocal.sh

Code: [Select]
sudo mount /dev/sda1 /disk1
the /disk1 dir was created previously and is persistent with the following added to /opt/.filetool.lst

Code: [Select]
disk1
I did a bit of googling about mounting hard drives and most all tutorials I found were about the /etc/fstab file.

The method I'm using does work and is stable on VM Workstation each time I reboot.

Any wisdom about using the solution I came up with vs using fstab are very welcome.

Thx,
Remus
Title: Re: Fstab vs mount
Post by: curaga on December 12, 2011, 08:21:33 AM
With it in fstab, you can save one of the arguments (mount /disk1) and preset some mount options. No other benefit.