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
GETFSENT(3)						     Library Functions Manual						       GETFSENT(3)

NAME
getfsent, getfsspec, getfsfile, getfstype, setfsent, endfsent - get file system descriptor file entry SYNOPSIS
#include <fstab.h> struct fstab *getfsent() struct fstab *getfsspec(spec) char *spec; struct fstab *getfsfile(file) char *file; struct fstab *getfstype(type) char *type; int setfsent() int endfsent() DESCRIPTION
Getfsent, getfsspec, getfstype, and getfsfile each return a pointer to an object with the following structure containing the broken-out fields of a line in the file system description file, <fstab.h>. struct fstab { char *fs_spec; char *fs_file; char *fs_type; int fs_freq; int fs_passno; }; The fields have meanings described in fstab(5). Getfsent reads the next line of the file, opening the file if necessary. Setfsent opens and rewinds the file. Endfsent closes the file. Getfsspec and getfsfile sequentially search from the beginning of the file until a matching special file name or file system file name is found, or until EOF is encountered. Getfstype does likewise, matching on the file system type field. FILES
/etc/fstab SEE ALSO
fstab(5) DIAGNOSTICS
Null pointer (0) returned on EOF or error. BUGS
All information is contained in a static area so it must be copied if it is to be saved. 4th Berkeley Distribution May 12, 1986 GETFSENT(3)
All times are GMT -4. The time now is 07:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy