What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Change mounting point for USB drive

gatorback

Regular Contributor
I believe my device automatically mounts a USB drive to:

/dev/sdb1 on /tmp/mnt/HOSTNAME type ext2 (rw,nodev,relatime,errors=continue,user_xattr)

I believe this was configured by an entware script. I'd like to change it /tmp/mnt/sda1

I tried to find fstab:

find . | grep fstab​

but it was not found. How is the mounting point assigned?
 
I believe my device automatically mounts a USB drive to:

/dev/sdb1 on /tmp/mnt/HOSTNAME type ext2 (rw,nodev,relatime,errors=continue,user_xattr)

I believe this was configured by an entware script. I'd like to change it /tmp/mnt/sda1

I tried to find fstab:

find . | grep fstab​

but it was not found. How is the mounting point assigned?
The name of the mount point (HOSTNAME) is derived from the volume label of the USB drive. If the drive has no volume label then sda1, sdb1, sdc1, etc. is used instead.

If you want to change the mount point, change the volume label.
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top