Sponsored Content
Full Discussion: how to mount parmanently
Top Forums UNIX for Dummies Questions & Answers how to mount parmanently Post 99457 by RTM on Friday 17th of February 2006 09:23:38 AM
Old 02-17-2006
From the mount man page:
Quote:
(i) The command
mount -a [-t type] [-O optlist]
(usually given in a bootscript) causes all file systems mentioned in
fstab (of the proper type and/or having or not having the proper
options) to be mounted as indicated, except for those whose line con-
tains the noauto keyword. Adding the -F option will make mount fork, so
that the filesystems are mounted simultaneously.

(ii) When mounting a file system mentioned in fstab, it suffices to
give only the device, or only the mount point.

(iii) Normally, only the superuser can mount file systems. However,
when fstab contains the user option on a line, anybody can mount the
corresponding system.

Thus, given a line
/dev/cdrom /cd iso9660 ro,user,noauto,unhide
any user can mount the iso9660 file system found on his CDROM using the
command
mount /dev/cdrom
or
mount /cd
For more details, see fstab(5)
(See your man page for mount for specifics to your OS and/or post your OS and version)

/dev/hda1 / ext3 defaults,errors=remount-ro 0 1

hda1 is the physical device
/ is the mount point
ext3 is the filesystem type
defaults,errors=remount-ro are options to the mount command errors=remount-ro means if errors are encountered, remount the partition as read-only (-ro). So if you are doing a remount rw, you are remounting it read-write after errors were encountered. Instead of doing that, you might want to fix the problems that it's having.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to mount a hotswap scsi drive on a solaris 2.6 netra box using the mount command?

Hi... question is this: How do I mount an LVD hotswap scsi drive in bay #2 on a netra using the mount command? volmgt doesn't seem to mount it and/or I don't know how to view the drives data if it's formatted which it may not be. This drive is not new out of the box so I'm not sure. ... (4 Replies)
Discussion started by: soulshaker
4 Replies

2. UNIX for Dummies Questions & Answers

Mount

Hey, need to mount the following below, and new ish to unix.. what is the process.. thanks :b: # format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c1t0d0 <SEAGATE-ST973401LC-0001 cyl 51057 alt 2 hd 4 sec 702> /pci@1d,700000/scsi@4/sd@0,0 (5 Replies)
Discussion started by: blb
5 Replies

3. UNIX for Dummies Questions & Answers

mount -o llock -F nfs vs mount -F nfs

Hi, We encountered NFS issue (solaris) especially running on Oracle application. Problem such as forms hang when close button is click, concurrent job shows running status all time. Understand we need to use mount -o llock -F nfs instead of mount -F nfs to eliminate? this problem.. Can... (1 Reply)
Discussion started by: KhawHL
1 Replies

4. UNIX for Advanced & Expert Users

mount -t cifs permission denied by mount -t smbfs works fine

I am having trouble mounting with cifs, but mounting the exact same command with smbfs works fine. The share is on another samba server and is set to full public guest access. # mount -t cifs //servername/sharename /mnt/temp -o password="" mount error 13 = Permission denied Refer to the... (3 Replies)
Discussion started by: humbletech99
3 Replies

5. IP Networking

Can't see home folder on one NFS mount but can in another mount on another share

Hello, I have a few Ubuntu 9.10 laptops I'm trying to learn NFS sharing with. I am just experimenting on this right now, so no harsh words about the security of what I'm playing with, please ;) Below are the configs /etc/exports on host /home/woodnt/Homeschool... (2 Replies)
Discussion started by: Narnie
2 Replies

6. UNIX for Dummies Questions & Answers

can not mount fs

Hey guys, i have a computer (from a friend) with win xp home. now he can not boot the system and i want to try to fix it. I don't know what he did but windows says all the time "hal.dll is missing" and so on... I tried windows restore and helping cons but it's not working. Now I try to work... (2 Replies)
Discussion started by: puthy
2 Replies

7. UNIX for Dummies Questions & Answers

mount -o

Hi guys. I read the man page for mount command but i didn't understand why we use -o option. could someone help?:D (1 Reply)
Discussion started by: majid.merkava
1 Replies

8. UNIX for Dummies Questions & Answers

Mount...how to mount?

hi, i am haveing trouble to mount. i have a workstation linux redhat. i want to mount a library on my linux server. i want to cd to folder named POPYE from my workstation on the server. when i write df -h on the station i want to see it as /mnt/POPYE 10x (2 Replies)
Discussion started by: zigizag
2 Replies

9. Shell Programming and Scripting

Script to mount nas-share using generated credentials (mount EC 13,32)

Heyas At home i have 1 nas with 3 shares, of which i used to mount 2 of them using a script with hardcoded password and username in it. EDIT: Turns out, its not the script, but 'how i access' the nas share.. (-o user=XY,password=... VS. -o credentials=...). Figured about credential files,... (0 Replies)
Discussion started by: sea
0 Replies

10. UNIX for Beginners Questions & Answers

How to create a new mount point with 600GB and add 350 GBexisting mount point? IN AIX

How to create a new mount point with 600GB and add 350 GBexisting mount point Best if there step that i can follow or execute before i mount or add diskspace IN AIX Thanks (2 Replies)
Discussion started by: Thilagarajan
2 Replies
SYSTEMD-REMOUNT-FS.SERVICE(8)				    systemd-remount-fs.service				     SYSTEMD-REMOUNT-FS.SERVICE(8)

NAME
systemd-remount-fs.service, systemd-remount-fs - Remount root and kernel file systems SYNOPSIS
systemd-remount-fs.service /lib/systemd/systemd-remount-fs DESCRIPTION
systemd-remount-fs.service is an early boot service that applies mount options listed in fstab(5) to the root file system, the /usr file system, and the kernel API file systems. This is required so that the mount options of these file systems -- which are pre-mounted by the kernel, the initial RAM disk, container environments or system manager code -- are updated to those listed in /etc/fstab. This service ignores normal file systems and only changes the root file system (i.e. /), /usr and the virtual kernel API file systems such as /proc, /sys or /dev. This service executes no operation if /etc/fstab does not exist or lists no entries for the mentioned file systems. For a longer discussion of kernel API file systems see API File Systems[1]. SEE ALSO
systemd(1), fstab(5), mount(8) NOTES
1. API File Systems https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems systemd 237 SYSTEMD-REMOUNT-FS.SERVICE(8)
All times are GMT -4. The time now is 05:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy