Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mount(1m) [v7 man page]

MOUNT(1M)																 MOUNT(1M)

NAME
mount, umount - mount and dismount file system SYNOPSIS
/etc/mount [ special name [ -r ] ] /etc/umount special DESCRIPTION
Mount announces to the system that a removable file system is present on the device special. The file name must exist already; it must be a directory (unless the root of the mounted file system is not a directory). It becomes the name of the newly mounted root. The optional last argument indicates that the file system is to be mounted read-only. Umount announces to the system that the removable file system previously mounted on device special is to be removed. These commands maintain a table of mounted devices. If invoked without an argument, mount prints the table. Physically write-protected and magnetic tape file systems must be mounted read-only or errors will occur when access times are updated, whether or not any explicit write is attempted. FILES
/etc/mtab: mount table SEE ALSO
mount(2), mtab(5) BUGS
Mounting file systems full of garbage will crash the system. Mounting a root directory on a non-directory makes some apparently good pathnames invalid. MOUNT(1M)

Check Out this Related Man Page

MOUNT(2)							System Calls Manual							  MOUNT(2)

NAME
mount, umount - mount or umount a file system SYNOPSIS
#include <unistd.h> #include <sys/mount.h> int mount(char *special, char *name, int flag) int umount(char *name) DESCRIPTION
Mount() tells the system that the file system special is to be mounted on the file name, effectively overlaying name with the file tree on special. Name may of any type, except that if the root of special is a directory, then name must also be a directory. Special must be a block special file, except for loopback mounts. For loopback mounts a normal file or directory is used for special, which must be seen as the root of a virtual device. Flag is 0 for a read-write mount, 1 for read-only. Umount() removes the connection between a device and a mount point, name may refer to either of them. If more than one device is mounted on the same mount point then unmounting at the mount point removes the last mounted device, unmounting a device removes precisely that device. The unmount will only succeed if none of the files on the device are in use. Both calls may only be executed by the super-user. SEE ALSO
mount(1), umount(1). AUTHOR
Kees J. Bot (kjb@cs.vu.nl) MOUNT(2)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

scsi sda device not mounting !!

I have a small scsi memory disk device that my computer claims is a /dev/sda mount type.. and I have mounted it in the past.. but I just recently reinstalled my whole system to check out a couple of things on my database. including the scsi device and now I can't get it to mount.. i tried to mount... (20 Replies)
Discussion started by: moxxx68
20 Replies

2. Debian

NFS problems (Debian)

I'm trying to share some directories with NFS among Debian machines. In order to do so, I installed nfs-common and nfs-kernel-server on the server machine. It seemed that starting portmap daemon lasted a long time and I get the following messages in /var/log/messages: Jan 30 18:18:03 masternode... (26 Replies)
Discussion started by: bellman
26 Replies

3. Solaris

Increasing allocated space to a mount - possible?

Hey guys, I am somewhat new to Solaris - and very new when it comes to mounts. My problem is that when I installed Solaris, I allocated way too little diskspace to my / mount (it first became obvious now, however, because of new needs). bash-3.00# df -h Filesystem size ... (25 Replies)
Discussion started by: brightstorm
25 Replies

4. Red Hat

CentOS and XP dualboot + ext3/ntfs mount

I have WinXP Pro SP2 on first disk /dev/hda, which my BIOS currently has as first boot device. I have CentOS-5.2-x86_64 on second disk /dev/hdb, which I can boot into if I set my BIOS to boot from this HDD. It is using LVM with vg00 and a single LV for root (/) filesystem (ext3). How do I get... (19 Replies)
Discussion started by: apra143
19 Replies

5. Solaris

Unable to mount Metadevice

Hi, I am running Solaris 8 on a V880 which has recently crashed. It has got a fibre connection to a StorageTrek array containing my database info. Since the crash I have been unable to mount the 2 metadevices which correspond to /spool & /apps - these FS's contain my db info and theredore I... (20 Replies)
Discussion started by: Duffs
20 Replies

6. Solaris

Unknown fstype?

Dear all I have formatted/labeled/partitioned my new disk but when trying to mount it is returning 'unknown fstype' .Can you please let me know how to solve this problem? Thank you (37 Replies)
Discussion started by: hadimotamedi
37 Replies

7. Linux

Mounting a new disk on linux server

Hi All. I am pretty new when it comes to Linux. My admin left on vacation and has presented 2 new disks to the server but they won't be seen until I can reboot the box this weekend. Once that happens I need the steps to make it available to my server and mount them as new filesystems. One will... (25 Replies)
Discussion started by: jamie_collins
25 Replies

8. Solaris

Solaris: Expanding / Extending a mount point / Slice

I'm new to UNIX, sort of inherited this job. I have an HP lefthand SAN, where I added 100GB to one of the volumes. As I understand I also have to expand the volume on the server (solaris 10 ) as well. So, how do I do that? The file system is called: sybdump. the mount point is /export/xxx/sybdump.... (19 Replies)
Discussion started by: Spaseman
19 Replies

9. UNIX for Dummies Questions & Answers

UNIX System V Mount Floppy Drive

I have recently installed UNIX SysV on an old computer to try and expand my general knowledge of computers. I want to install NASM on it so I can begin working on some assembly language, but I am having trouble accessing the floppy disk with the files I need. I've tried running mount /dev/fd0... (23 Replies)
Discussion started by: BrentBANKS
23 Replies

10. Solaris

Validate mountpoints on solaris server after server reboot

Hi, anyone please let us know how to write shell script to find the missing mountpoints after server reboot. i want to take the mountpount information before server reboot, and validate the mountpoints after server reboot if any missing.please let us know the shell script from begining to end as... (24 Replies)
Discussion started by: VenkatReddy786
24 Replies

11. Solaris

Mount issue please help

Hi all I have a mount issue, that is as follows: somebody as mount a certain file system /sim5 on /, so when I do df -h /sim5it returns Filesystem size used avail capacity Mounted on /dev/md/dsk/d10 9.6G 7.0G 2.6G 74% /, which is the same as df -h /... (25 Replies)
Discussion started by: fretagi
25 Replies

12. Ubuntu

Hard Drives Undetected on My Machine - But Mounts on All Other Machines

Dear All, Hope you are doing great. I ran into a very strange issue. I have a Dell T7500 machine that runs ubuntu 12. I have 8 different drives from different manufacturers of varying sizes with data on them. These 8 drives were hooked to this Dell machine using external docking stations. Now,... (20 Replies)
Discussion started by: jacobs.smith
20 Replies

13. HP-UX

Unable to mount shared folder from Linux server

Hi all, I have 3 servers, rx2600, rx2600, and rx2660. I have another x86 server running on Suse, and create a shared folder named /public From 1 of the rx2600 server I can mount that shared folder : intaqa:/>mount 10.1.2.82:/public /bkup intaqa:/>cd /bkup But from 2 others server I... (29 Replies)
Discussion started by: rexmale
29 Replies

14. UNIX for Beginners Questions & Answers

Mount error in Linux: invalid argument

hi i have an android phone which i think is bricked, so wanted to see what the actual issue is, I flashed it with TWRP recovery image and launched terminal i, was able understand that mount is not happening, it says invalid argument and no such file or directory. Below is what i get while... (32 Replies)
Discussion started by: nanz143
32 Replies

15. Shell Programming and Scripting

How to make awk command faster for large amount of data?

I have nginx web server logs with all requests that were made and I'm filtering them by date and time. Each line has the following structure: 127.0.0.1 - xyz.com GET 123.ts HTTP/1.1 (200) 0.000 s 3182 CoreMedia/1.0.0.15F79 (iPhone; U; CPU OS 11_4 like Mac OS X; pt_br) These text files are... (21 Replies)
Discussion started by: brenoasrm
21 Replies