search for: mtab

Displaying 20 results from an estimated 256 matches for "mtab".

Did you mean: mta
2008 Jul 03
1
extlinux and install script
...ooted system, the extlinux reports the following error. /usr/bin/extlinux -i /mnt/boot /mnt/boot is device proc /usr/bin/extlinux: cannot open device proc But /mnt/boot is mounted on /dev/sda1 and ext3 file system. I read the source code and found the following code in install_loader() if ( (mtab = setmntent("/proc/mounts", "r")) ) { while ( (mnt = getmntent(mtab)) ) { if ( (!strcmp(mnt->mnt_type, "ext2") || !strcmp(mnt->mnt_type, "ext3")) && !stat(mnt->mnt_fsname, &dst) && dst.s...
2000 Feb 01
1
smbmnt and disabling mtab update
...o run smbmount on a machine with the root filesystem mounted as read only (it is a little embedded Linux PC which I want to pick up some files from its controlling NT box). The problem is that smbmnt doesn't appear to support the -n flag that normal mount supports which avoids accessing /etc/mtab. Can any one suggest any solutions to this ? Dave /------------------------------------------------------------------\ | Dr. David Alan Gilbert | Work:dg@px.uk.com +44-161-286-2000 Ex258| | -------- G7FHJ --------|---------------------------------------- | | Home: dave@treblig.org http://www.t...
2010 May 29
3
adding statistical output to a plot
I have written a function to emulate minitab's QQ plotting output (with SW test and AD test results on the graph): mtab.norm<-function(x) { library(nortest) library(lattice) x<-as.numeric(x) x<-as.vector(x) plot.ht<-4.6 plot.wd<-4.6 pt.ht=plot.ht/5 txt.sz<-(plot.ht/7.5) X11(width=plot.wd, height=plot.ht, bg='gray96') qqplot(x, pch=16, cex=pt.ht, col=palette()[c(1,2)], xlab=paste(colnames(x)...
2001 Oct 24
3
a bug in ext3 code for 2.4.7
Hello , I use kernel 2.4.7 patched with corresponding ext3 patch. The problem I have is that when I startup I get a panic in a kernel. I started to debug util-linux and found that mount does a segmentation fault when trying to open /etc/mtab file. The segmentation fault ocurrs on open() call inside mtab_is_writable() procedure: printf("mtab_writable: pass 1\n"); if (ret == -1) { int fd; if (!MOUNTED) printf("mtab_writable: MOUNTED=null\n"); fd = open("/etc/passwd", O_RDWR | O_CREAT, 0644...
2002 Mar 01
1
Can I mount with samba on a read-only system?
Hi, I'm trying to mount with smbmount on a read-only system. I have a writable /tmp and /var dir, so it car wirte logs. The samba daemons are running fine, but when doing smbmount I get the following error: can't lock /etc/mtab~ file This is correct, because mtab is read-only. I tried to create a link (ln -sf) from /etc/mtab to /tmp/mtab (and /etc/mtab~ to /tmp/mtab~) but this didn't work. It's able to write in mtab (a new line is added). but the error keeps ocurring. I also trie to compile, using the /tmp dir a...
2001 Nov 06
0
[PATCH] nomtab support
This patch was sent to me by Urban Widmark <urban@teststation.com> (thanks Urban!). It allows me to mount remote Win shares to my Linux box automatically. I'm using kernel automounter. The problem was that I have a ro root fs and my /etc/mtab isn't writable (symlinked to /proc/mounts). Patch adds -n and -o nomtab options for smbmount. -o nomtab was particularly useful for me. I don't see it applied in Samba 2.2.2. I rediffed it for 2.2.2, compiled, and so far it is working fine. I'd like to see it merged into mainline c...
2001 Sep 05
3
[e2fsprogs-1.24] "fsck -A -a" fails on reboot
...ue to a power failure for example, "fsck -A -a" cannot continue after checking the root filesystem on reboot, issuing the error msg "/dev/???? is mounted, e2fsck: Cannot continue, aborting." The problem is that e2fsck in e2fsck-1.24 no longer takes into account whether /etc/mtab is writable or not; whenever it finds an mounted entry in /etc/mtab (/proc not mounted yet at this time), it assumes it's already mounted, even though the system has just experienced a crash. I think the mtab checking code in older version of e2fsck is still needed: --- e2fsprogs-1.24/e2fsck/...
2007 Sep 17
0
Help! Looking for the smbmount-nomtab.patch and smbmount-mtab-flags.patch
I have cross-compiled smbmount(smbmnt, smbclient) using samba-3.0.24.tar.gz, then ported them to an ARM Arch machine whose /etc directory is read only. The smbmount command always results in errors """Can't get /etc/mtab~ lock filesmbmnt failed: 1""" Someone says that If we rebuild samba with the smbmount-nomtab.patch and smbmount-mtab-flags.patch, it would work fine using 'smbmount -n' - no mtab problem anymore. Does the samba-3.0.24.tar.gz have the patches, where can i find them?? thanks...
2012 Feb 15
0
corrupted /etc/mtab
Hello everyone, It seems like we have a corrupted /etc/mtab file and I just wanted to check that my plan of action is correct. df -k returns: df: cannot read table of mounted file systems: No such file or directory ls -la mtab: ?--------- ? ? ? ? ? mtab messages full of errors: EXT3-fs error (device cciss/c0d2p1): ext3_lookup:...
2005 Aug 23
3
Not mounting on boot
...drives. But they never mount on boot. [I don't reboot very often, about 1 every 1.5yrs or so, for HW changes and alike] But regardless, I'd rather automate the mounting process for these drives. [I don't want to use a boot script] The /etc/fstab does not show any ocfs drives The /etc/mtab shows the original ocfs drives I've tried editing the mtab to include the new drives, but it doesn't mount the drives and they're not listed in mtab post reboot. Any help much appreciated Thanks in advance clarke ||||||||||||||||||||||||||| P. Clarke Thomas SysAdmin Houghton Interna...
2002 Aug 25
2
2 root disks sdb1,sdc1; if set "root=/dev/sdc1", mtab lies saying sdb1 is root!?
...mg root=/dev/sdb1". When I alter SYSLINUX.CFG with: "append initrd=initrd.img root=/dev/sdc1". The boot also works just fine: dmesg|grep Kernel results in: Kernel command line: initrd=initrd.img root=/dev/sdc1 BOOT_IMAGE=vmlinuz -b THE PROBLEM: the mount command and /etc/mtab indicate that "/dev/sdb1" is root- I know this is false because the sdb disk is never accessed (LED never lites) , and because I have distinct files on sdc not on sdb. If I reverse the SCSI ids on the 2 RH 7.3 disks the behavior is identical when I boot from /dev/sdc1. What can be done...
2011 Mar 04
0
ANNOUNCE: cifs-utils release 4.9 available for download
...back in January. Things have been pretty quiet but we've had a few bugs fixed since then, so it's probably time for another release. Not a lot of major changes with this one -- mostly just bugfixes. The main changes since 4.8.1 are: * Some distros (namely Fedora) are moving to having /etc/mtab be a symlink to /proc/mounts. We automatically skip trying to alter the mtab if it's a symlink. * fix for a bug that could prevent root from mounting onto a directory to which he did not have explicit execute permission. * fix for a bug that caused the mount helper to pass in a corrupt...
2014 Nov 12
1
Very high system load: Samba statfs call for filesystems in /etc/mtab in: fileid_load_mount_entries()
...about 12000 users, after a while there usually are 1000 bind mounts on the samba server mounted. So if there are eg 1000 bind mounts then we saw that *each* of the 300 running smbd processes did in regular intervals a stat on all of these 1000 bind mounted /home/<user> entries found in /etc/mtab. This had the effect that automount was unable to umount any of them, since they were beeing stated all the time again and on the other hand there were so many stat() system calls that samba was unable to really serve files to the users. Xfer speeds of 1KByte/sec was already fast :-) So actually no...
2016 May 12
0
[PATCH 09/11] appliance: fix errors in init for SLE / openSUSE
Running the init on openSUSE and SLE machines showed up minor errors: * skip the /etc/mtab symlink creation if the file is already existing. * make sure /run/lvm is created or lvmetab will complain. --- appliance/init | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/appliance/init b/appliance/init index 413a95f..b22032e 100755 --- a/appliance/init +++ b/appliance...
2011 Feb 02
0
[PATCH] appliance: Force /etc/mtab to be a symlink to /proc/mounts
...ect.org/wiki/MinGW http://www.annexia.org/fedora_mingw -------------- next part -------------- >From 522da71ebdbca3b69978292a818b9317905a7d3c Mon Sep 17 00:00:00 2001 From: Richard W.M. Jones <rjones at redhat.com> Date: Wed, 2 Feb 2011 18:33:25 +0000 Subject: [PATCH] appliance: Force /etc/mtab to be a symlink to /proc/mounts Since Fedora util-linux 2.19, the %post script has done: rm -f /etc/mtab ln -s /proc/mounts /etc/mtab We now parse /etc/mtab, and it seems to be a good idea in general to make it work like this. --- appliance/init | 5 +++++ 1 files changed, 5 insertions(+...
2011 Feb 03
0
[PATCH] daemon: Parse /proc/mounts instead of /etc/mtab
...languages. http://libguestfs.org -------------- next part -------------- >From 61a1a2b71c4811b9d6233a43db74229b9364f0c6 Mon Sep 17 00:00:00 2001 From: Richard W.M. Jones <rjones at redhat.com> Date: Thu, 3 Feb 2011 09:39:49 +0000 Subject: [PATCH] daemon: Parse /proc/mounts instead of /etc/mtab Since Fedora util-linux 2.19, the %post script does: rm -f /etc/mtab ln -s /proc/mounts /etc/mtab We are no longer running %post scripts, so this means that /etc/mtab is a plain file in the appliance. Usual 'mount' still updates it, but for some reason mount.ntfs does *not* update i...
1999 Nov 01
1
smbmount syntax for 2.0.5a
...e Samba web site and can't seem to find everything I need to do to mount a share (from an NT 4.0 server). When I issue the following: smbmount //server/share -I dest ip -U user%pswd -c `mount /mnt/dirname` I get the following message: mount: can't find /mnt/selData in /etc/fstab or /etc/mtab What do I need to do to configure the fstab and or mtab files so that the smbmount command will work? Or am i doing something wrong on the smbmount command? Should the /mnt/dirname directory exist (I've created one)? I tried adding a line to fstab using filesystem option smbfs, which was in...
2005 Jun 15
3
Burning CDs
Hi, I have just installed 4.1 on a new Dell Latitude d610. It does not automount the CDs. When I mount the CD manually I get: $mount /media/cdrecorder mount: block device /dev/hdc is write-protected, mounting read-only The CD writer is an Philips IDE: CDRW/DVD-ROM CDD5263 Here is my mtab: $ cat /etc/mtab /dev/mapper/VolGroup00-LogVol00 / ext3 rw 0 0 none /proc proc rw 0 0 none /sys sysfs rw 0 0 none /dev/pts devpts rw,gid=5,mode=620 0 0 usbfs /proc/bus/usb usbfs rw 0 0 /dev/sda1 /boot ext3 rw 0 0 none /dev/shm tmpfs rw 0 0 none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0 /dev/hdc...
2001 Sep 24
7
ext3 and kernel 2.4.10
...proc defaults 0 0 none /dev/pts devpts gid=5,mode=620 0 0 /dev/hda6 swap swap defaults 0 0 /dev/hda7 swap swap defaults 0 0 Weierstrass:[~] > cat /etc/mtab /dev/hda5 / ext3 rw 0 0 none /proc proc rw 0 0 none /dev/pts devpts rw,gid=5,mode=620 0 0 I don't know where is the problem. Regards, JKB
2010 Apr 02
0
ANNOUNCE: cifs-utils release 4.2 available for download
...lity is no longer disabled by default. Among the changes are: - - mount.cifs now does privilege separation. It forks very early and the child drops privileges. Most of the mount option processing is handled by the child. The parent simply waits for the child to exit and proceeds with the mount and mtab update based on the child's exit status. - - mount.cifs uses libcap if it is available to prune its capability set - - mount.cifs is more careful about signal handling during mtab updates This should not however be construed as a recommendation to install mount.cifs setuid root. As always, d...