Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mount(1) [minix man page]

MOUNT(1)						      General Commands Manual							  MOUNT(1)

mount - mount a file system SYNOPSIS
mount special file [-r] OPTIONS
-r File system is mounted read-only EXAMPLES
mount /dev/fd1 /user # Mount diskette 1 on /user DESCRIPTION
The file system contained on the special file is mounted on file. In the example above, the root directory of the file system in drive 1 can be accessed as /user after the mount. When the file system is no longer needed, it must be unmounted before being removed from the drive. SEE ALSO
df(1), mkfs(1), fsck(1), umount(1), mount(2), fstab(5). MOUNT(1)

Check Out this Related Man Page

MOUNT(2)							System Calls Manual							  MOUNT(2)

mount, umount - mount or remove file system SYNOPSIS
mount(special, name, rwflag) char *special, *name; umount(special) char *special; DESCRIPTION
Mount announces to the system that a removable file system has been mounted on the block-structured special file special; from now on, ref- erences to file name will refer to the root file on the newly mounted file system. Special and name are pointers to null-terminated strings containing the appropriate path names. Name must exist already. Name must be a directory (unless the root of the mounted file system is not a directory). Its old contents are inaccessible while the file system is mounted. The rwflag argument determines whether the file system can be written on; if it is 0 writing is allowed, if non-zero no writing is done. 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. Umount announces to the system that the special file is no longer to contain a removable file system. The associated file reverts to its ordinary interpretation. SEE ALSO
Mount returns 0 if the action occurred; -1 if special is inaccessible or not an appropriate file; if name does not exist; if special is already mounted; if name is in use; or if there are already too many file systems mounted. Umount returns 0 if the action occurred; -1 if if the special file is inaccessible or does not have a mounted file system, or if there are active files in the mounted file system. ASSEMBLER
(mount = 21.) sys mount; special; name; rwflag (umount = 22.) sys umount; special 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 /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: - GET 123.ts HTTP/1.1 (200) 0.000 s 3182 CoreMedia/ (iPhone; U; CPU OS 11_4 like Mac OS X; pt_br) These text files are... (21 Replies)
Discussion started by: brenoasrm
21 Replies