Sponsored Content
Full Discussion: automount script
Top Forums Shell Programming and Scripting automount script Post 302263960 by unclecameron on Tuesday 2nd of December 2008 08:13:44 PM
Old 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

automount

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

Automount

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

AutoMount

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

CD automount does not work

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

Automount issue

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

Automount in Solaris 10

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

Help on Unconfiguring Automount

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

Automount problem

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

Automount in RHEL

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

Need help with automount.. is not working!!

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
NTFS-3G.PROBE(8)                                              System Manager's Manual                                             NTFS-3G.PROBE(8)

NAME
ntfs-3g.probe - Probe an NTFS volume mountability SYNOPSIS
ntfs-3g.probe <--readonly|--readwrite> volume DESCRIPTION
The ntfs-3g.probe utility tests a volume if it's NTFS mountable read-only or read-write, and exits with a status value accordingly. The volume can be a block device or image file. OPTIONS
Below is a summary of the options that ntfs-3g.probe accepts. -r, --readonly Test if the volume can be mounted read-only. -w, --readwrite Test if the volume can be mounted read-write. -h, --help Display help and exit. EXAMPLE
Test if /dev/sda1 can be mounted read-write: ntfs-3g.probe --readwrite /dev/sda1 EXIT CODES
The exit codes are as follows: 0 Volume is mountable. 11 Syntax error, command line parsing failed. 12 The volume doesn't have a valid NTFS. 13 Inconsistent NTFS, hardware or device driver fault, or unsetup SoftRAID/FakeRAID hardware. 14 The NTFS partition is hibernated. 15 The volume was not cleanly unmounted. 16 The volume is already exclusively opened and in use by a kernel driver or software. 17 Unsetup SoftRAID/FakeRAID hardware. 18 Unknown reason. 19 Not enough privilege to mount. 20 Out of memory. 21 Unclassified FUSE error. KNOWN ISSUES
Please see http://tuxera.com/community/ntfs-3g-faq/ for common questions and known issues. If you think you have found an undocumented problem in the latest release of the software then please send an email describing it in detail. You can contact the development team on the ntfs-3g-devel@lists.sf.net address. AUTHORS
ntfs-3g.probe was written by Szabolcs Szakacsits. THANKS
Alon Bar-Lev has integrated the utility into the NTFS-3G build process and tested it with Erik Larsson before the public release. SEE ALSO
ntfs-3g(8) ntfs-3g.probe 2017.3.23 January 2008 NTFS-3G.PROBE(8)
All times are GMT -4. The time now is 07:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy