Sponsored Content
Full Discussion: Mount/fstab Question . . .
Top Forums Shell Programming and Scripting Mount/fstab Question . . . Post 302925551 by derekludwig on Monday 17th of November 2014 10:55:08 PM
Old 11-17-2014
Yes, you will have to edit /etc/fstab to add or change the entry for your new filesystem. Are you getting an error when you try:
Code:
mount -t ext4 /dev/something /mnt

This User Gave Thanks to derekludwig For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Basic question for making remote mount points

I'm on SunOS 5.8. I'm not sure of the exact terminology, but I want to make a "remote mount" from my server to another server. (Basically I want to create one of the mount points on my server be a shared volume that's on another server here). So if I do a df -k, I want to see all of the volumes... (1 Reply)
Discussion started by: FredSmith
1 Replies

2. UNIX for Dummies Questions & Answers

question on change of mount point

Hello Folks, had a basic question mount point and renaming it. on AIX 5.3 box, I have a filesystem Filesystem GB blocks Free %Used Mounted on /dev/issclv01 1.00 0.50 50% /issc/doc Now instead of /issc/doc, i want to rename it to /issc is it as... (2 Replies)
Discussion started by: karthikosu
2 Replies

3. UNIX for Dummies Questions & Answers

fstab question

Folks; Please be patient with this issue when you read it. I know it's a little tricky. I have a new share created on my SUSE 10 box. I'm trying to edit the /etc/fstab file or find a way to make this share needs no authentication. The reason for that is we're using an outside application to... (3 Replies)
Discussion started by: Katkota
3 Replies

4. Programming

A question about the system call mount in a C program

Dear all, Currently I'm working on a C program (OS = ubuntu 9.0.4)in which a USB key will be mounted and umounted for several times. I read the man page of the mount system call. I use the following test code #include <sys/mount.h> int main(int argc, char *argv) { if... (5 Replies)
Discussion started by: dariyoosh
5 Replies

5. Shell Programming and Scripting

mount question

Is it users or user? mount /dev/sda5 /media/sda5 vfat rw,user,umask=0002 0 0 Or mount /dev/sda5 /media/sda5 vfat rw,users,umask=0002 0 0 (3 Replies)
Discussion started by: cola
3 Replies

6. UNIX for Dummies Questions & Answers

fstab

hi , i'm creating a shell script using fstab for my project of last year, i wonder you can help me to know what is the command allow me to get the list of unmounted partitions. thanks (4 Replies)
Discussion started by: Linux001
4 Replies

7. Ubuntu

fstab question

I have created a thumbdrive with a bootable version of Ubuntu 10.04 LTS, it uses Grub legacy. One of the issues I have is that everytime I boot a new system from the thumbdrive, it writes entries for the partitions in the fstab. Consequently, when I boot another system, the OS reads the fstab... (2 Replies)
Discussion started by: stumpyuk
2 Replies

8. Red Hat

Mount /etc/fstab

Can you please help me mount below filesystem in fstab ( I have rhel 5 ) as the line is long - it is not taking as single line How can break this in 2 line and act as one ....please help ... (4 Replies)
Discussion started by: saurabh84g
4 Replies

9. UNIX for Dummies Questions & Answers

/etc/fstab mount issue

I have a virtual machine with Redhat installed . I am trying to link CD/DVD Drive 1 to /media/cdrom1 and CD/DVD Drive 0 to /media/cdrom0 I tried making these changed in /etc/fstab by adding the below line to it /dev/sr0 /media/cdrom0 iso9660 user,noauto,exec,utf8 0 0... (2 Replies)
Discussion started by: walterthered
2 Replies

10. UNIX for Beginners Questions & Answers

Mount Linux filesystem not defined in etc/fstab

Hello, is there a way to mount a filesystem which is not defined in the etc/fstab ? Could someone share me any code or command (3 Replies)
Discussion started by: srilaxman
3 Replies
updfstab(8)							   Red Hat Linux						       updfstab(8)

NAME
updfstab - update /etc/fstab to reflect removable devices SYNOPSIS
updfstab [-nt] [--usage] DESCRIPTION
updfstab is designed to keep /etc/fstab consistent with the devices plugged into your system. It looks for devices such as cdroms, zip and jaz drives, ls120 drives, and digital cameras on the SCSI and IDE buses. USB devices look like SCSI devices to user space, so those are supported as well, but are only added if they are currently attached to the system (having a scsi device assigned to them is not suffi- cient). Devices which updfstab adds to /etc/fstab are marked with the kudzu mount option to distinguish them from other devices. updfstab will not remove devices from /etc/fstab unless they are marked with the kudzu mount option. It also ignores devices that are already listed in /etc/fstab, or which have multiple partitions on the media currently inserted. OPTIONS
-c,--config=path Use the configuration specified by path, rather then /etc/updfstab.conf. -n,--normalize Normally, updfstab tries to touch /etc/fstab as little as possible. When this option is given, it will instead move all of the devices with the kudzu mount option to the end of the file, and will list the devices in the same order the internal probe returns. -t,--test When this option is specified, updstab does not update the /etc/fstab file. Instead, it displays the fstab entries it would use to standard out. If no changes need to be made, it outputs the string (nothing to do) rather then a full filesystem table. CONFIGURATION
The devices updfstab looks for are specified by its configuration file, /etc/updfstab.conf by default. It defines a number of devices which updfstab looks for on the system, along with various attributes of that device. If a single device name is given multiple times, later val- ues override those given earlier. However, match directives accumulate; all specified matches remain in effect for that device. The default value of flags may be changed by specifying a new value for that flag outside of any device section, which changes the default for all future devices. A simple configuration file looks like this: # sample updfstab configuration file symlink false device cdrom { symlink true match cdrom } device zip { match hd zip match floppy "zip" } Here two devices are specified, cdrom and zip. If a cdrom device is found on the system, a /dev/cdrom is created pointing to the /dev entry for the device, and /mnt/cdrom is added to /etc/fstab. The next entry looks for hard drive devices with zip in their description as well as floppy devices with zip in their description. If either is found /mnt/zip is added to /etc/fstab, but no symlink is created. Here is the complete list of directives which may be used: device name Set attributes for device name name. The name is used in the /etc/fstab entry and for any symbolic links which are created. include path Parsing of the current configuration file is stopped, and the file specified by path is read for current configuration information. Multiple include directives may be given, but they may not appear inside of device sections. match class string This directive adds a new rule for this device type; devices found on the system which match this rule are considered a device of the type whose section the match directive appears in. The class must be cdrom, floppy, or hd. If string appears, it must be a sub- string of the physical device's description for the rule to match. nofstab val If val is true, updfstab does not add a mount entry to /etc/fstab. This is mainly useful in conjunction with symlink. partition num Specifies a default partition number which should be mounted from this device. If 0 is used, no partition number appears. updfstab always scans /proc/partitions for the proper partition number before relying on this value. skip val The device entry is skipped. This lets a configuration file undefine a device that was defined earlier (such as in an included file). val should be true or false. symlink val If val is true, updfstab creates a symbolic link in the /dev directory pointing to the actual device. This symbolic link is then used in /etc/fstab. FILES
/etc/fstab /etc/updfstab.conf /proc/partitions SEE ALSO
kudzu(1) AUTHORS
Erik Troan <ewt@redhat.com> Red Hat, Inc. 29 Jan 2003 updfstab(8)
All times are GMT -4. The time now is 10:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy