12-02-2008
The problem is I don't know how knoppix sets the drives to noauto, I've been trying to figure that out. Also, I don't want to mount non ntfs/fat16/fat32 drives, so I still need to detect the fs type and mount them with a script, unless I can figure out how knoppix does it.
My script works and mounts the drive if I specify -t ntfs, and it generates the mount point. I will try to look into the automount scripts, but until then I'm still trying to find out how to detect text on the next line beyond the comment, and between the 2nd and 3rd blank character.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I install an external disk on my sun solaris 8
this went fine and I was able to access all filesystem on the disk. the new disk is mounted on /local
then 6 hours later
files under /local/files was 1 byte in size
at the same time I received the following
error message in... (4 Replies)
Discussion started by: hassan2
4 Replies
2. UNIX for Advanced & Expert Users
My site has a few sun solaris server including out NIS server and NFS server on solaris machines. we also have few suse linux and redhat linux machine.
All our home directory is on our NFS server(sun Solaris) and this is automounted through /etc/auto_master and /etc/auto_home this worked fine... (1 Reply)
Discussion started by: hassan2
1 Replies
3. UNIX for Advanced & Expert Users
Hi All
How do I do a auto mount to a directory in a different unix server. I am using Solaris.
Please advise!!
TIA
Jana (7 Replies)
Discussion started by: janavenki
7 Replies
4. Solaris
Hello,
I have a SUN Solaris 9 machine (Sun-Fire-V490).
I put a DVD in the reader to install a software. The automount procedure did not work (vold is running) : I have nothing under /cdrom
When I try "eject" command I have the answer "No default media available"
When I try to mount manually the... (3 Replies)
Discussion started by: aribault
3 Replies
5. UNIX for Dummies Questions & Answers
Folks;
I'm mounting a directory on a different SUSE 10 server from my SUSE server fine. using this mount command:
# mount 192.168.132.11:/var/local/new /var/local/new
this command above works fine but when i added a new line to my "/etc/fstab" to be mounted automatically every time i... (2 Replies)
Discussion started by: Katkota
2 Replies
6. Solaris
Hi friends
I'm a newbie trying to automount a nfs shared directory. Below is the configuration I'm using
FreeBSD machine as NFS server. IP Address - 192.168.1.60
# cat /etc/exports
/shared 192.168.1.50
Solaris 10 as NFS client. IP Address - 192.168.1.50
# cat... (1 Reply)
Discussion started by: pankajj
1 Replies
7. AIX
Hi All,
Please help. I need an advise on how to Unconfigure automount please.
Many Thanks. (2 Replies)
Discussion started by: EngnrRG
2 Replies
8. Linux
Hi,
Please give step by step how to do automount in linux
Thanks,
Mani (9 Replies)
Discussion started by: Mani_apr08
9 Replies
9. Red Hat
Hello experts,
On my RHEL box when i mount a nfs file system using autofs, the df -t shows the file system as nfs only. For which mounts does it report the filesystem as autofs. ?? I actually want to see the filesystem getting reported as autofs instead of nfs. Pls guide me
I... (1 Reply)
Discussion started by: achak01
1 Replies
10. Red Hat
When i export the directory where the data really is, i can specify which hosts can mount it. On the remote server i create a mount point directory and then mount it to the source servers directory (that has the data).
I need to run my script on Server X , i would login there and type in the... (11 Replies)
Discussion started by: bkilaru
11 Replies
LEARN ABOUT OPENSOLARIS
fstab
FSTAB(5) File Formats FSTAB(5)
NAME
fstab - static information about the filesystems
SYNOPSIS
/etc/fstab
DESCRIPTION
The file fstab contains descriptive information about the filesystems the system can mount. fstab is only read by programs, and not writ-
ten; it is the duty of the system administrator to properly create and maintain this file. The order of records in fstab is important
because fsck(8), mount(8), and umount(8) sequentially iterate through fstab doing their thing.
Each filesystem is described on a separate line. Fields on each line are separated by tabs or spaces. Lines starting with '#' are com-
ments. Blank lines are ignored.
The following is a typical example of an fstab entry:
LABEL=t-home2 /home ext4 defaults,auto_da_alloc 0 2
The first field (fs_spec).
This field describes the block special device or remote filesystem to be mounted.
For ordinary mounts, it will hold (a link to) a block special device node (as created by mknod(8)) for the device to be mounted,
like `/dev/cdrom' or `/dev/sdb7'. For NFS mounts, this field is <host>:<dir>, e.g., `knuth.aeb.nl:/'. For filesystems with no
storage, any string can be used, and will show up in df(1) output, for example. Typical usage is `proc' for procfs; `mem', `none',
or `tmpfs' for tmpfs. Other special filesystems, like udev and sysfs, are typically not listed in fstab.
LABEL=<label> or UUID=<uuid> may be given instead of a device name. This is the recommended method, as device names are often a
coincidence of hardware detection order, and can change when other disks are added or removed. For example, `LABEL=Boot' or
`UUID=3e6be9de-8139-11d1-9106-a43f08d823a6'. (Use a filesystem-specific tool like e2label(8), xfs_admin(8), or fatlabel(8) to set
LABELs on filesystems).
It's also possible to use PARTUUID= and PARTLABEL=. These partitions identifiers are supported for example for GUID Partition Table
(GPT).
See mount(8), blkid(8) or lsblk(8) for more details about device identifiers.
Note that mount(8) uses UUIDs as strings. The string representation of the UUID should be based on lower case characters.
The second field (fs_file).
This field describes the mount point (target) for the filesystem. For swap partitions, this field should be specified as `none'. If
the name of the mount point contains spaces or tabs these can be escaped as ` 40' and '