Tag Info

Hot answers tagged

7

Check the kernel documentation for information about files in /proc. There is one such file per process because not all processes see the same mount points. Chroot is a traditional Unix feature that makes it possible to restrict processes to a subtree of the filesystem tree. A chrooted process would not see mount points outside its root. Linux takes this ...


5

You should use /mnt in your case as it is on the second partition which has free space. You do not want to allow the root (/) partition to get full as you will run into trouble. For example, during the next system update your package manager may download many packages and crash while trying to install them, simply due to the lack of disk space. The ...


4

If you have nfswatch installed you can use it to determine the hosts that are accessing the NFS server. You'll need to use the -clients switch. Example $ sudo nfswatch -clients mulder.mydom.net Mon Oct 13 16:28:55 2014 Elapsed time: 00:01:00 Interval packets: 337 (network) 154 (to host) 0 (dropped) Total packets: ...


3

You can mount a windows network share via the mount command: mount -t cifs //server/share /mnt/ -o username=user server can be the ip or the hostname of the windows server. share is the name of the network share /mnt/ is the mountpoint in the local linux machine user is the username that has the needed privileges you will be prompted for the password ...


2

On a filesystem that supports normal Unix file attributes, each file has a user who is designated as owner. Only the owner of a file may change its timestamps with utime. Other users aren't allowed to change timestamps, even if they have write permission. FAT filesystems don't record anything like an owner. The FAT filesystem driver pretends that a ...


2

What does commit really do? I think one of the best explanations was given here by allquixotic. Are there really advantages of increasing it (like responsiveness and power savings)? May it actually cause data loss? As per the ext4 official documentation: Ext4 can be told to sync all its data and metadata every 'nrsec' seconds. The default ...


2

In your Ubuntu 12.04, "/" and "/home" are mounted under different partitions. The mount command will show you the structure of your partition mounting. These are not accomplished by hard links. These are mount points. Linux Directory Structure Map Mount Manual umount manual FSTab Manual The FSTab is where you system gets/sets static mount points for ...


2

Take a look at the bindfs package. bindfs is a FUSE filesystem that allows for various manipulations of file permissions, file ownership etc. on top of existing file systems. You are looking specifically for the --map option of bindfs: --map=user1/user2:@group1/@group2:..., -o map=... Given a mapping user1/user2, all files owned by user1 are shown as ...


2

Another option is to use lsblk -f: lsblk lists information about all available or the specified block devices. This means, network shares (nfs, sshfs) or virtual file systems (dev,run,sys,proc et al) are not displayed. Also, a tmpfs file system which is normally shown in df -h will not appear. The -f option outputs info about file systems which ...


2

First of all, "dummy" is probably not best term - procfs, sysfs or dev(tmp)fs are far from being useless. Either use the -t (type) option for mount and feed it a comma separated list of filesystems you are interested in: mount -t tmpfs,xfs or use grep to filter what you want (probably grep -v to show what doesn't match): mount | grep -Ev ...


2

The filesystem mounted on /mnt has open file descriptors from running processes. You normally could try an umount with the force option, but looking up those processes with "lsof /mnt" and end them is safer.


1

Yes, I am afraid so as the mounted data content mounted to the place you previous mounted. At the very least dual mounting an active disk in two places could cause some definite data corruption. Summary, the answer is that your rm succeeded in removing files on /dev/sdb1. Your only recourse at this point is to restore the content from backups.


1

Looking through the man pages If you look at the man page for mount.cifs which is what will be used to mount any shares listed in /etc/fstab there is a note that mentions noexec. excerpt - mount.cifs man page This command may be used only by root, unless installed setuid, in which case the noeexec and nosuid mount flags are enabled. When installed ...


1

Really all that is needed is to make sure that there is a directory in /mnt/bar that is writable by the influxdb user sudo mkdir /mnt/bar/influxdb sudo chown influxdb:influxdb /mnt/bar/influxdb Only root and influxdb will be able to write to it.


1

df in GNU coreutils has a list of ignored filesystem types, but it doesn't contain many entries. For the most part, it eliminates filesystems that have a size of 0. This usually covers the ignored filesystem types anyway. mount doesn't have direct access to the filesystem size. To get the same filtering, you would need to collate the output of mount with ...


1

I think that this 'Toshisba' icon represents graphically a whole drive as a device just like /dev/sda. Device cannot be mounted this way. Only partition formatted with filesystem which is represented in your case as 'File System' icon. I suggest to ignore it or maybe there is some setting in a filemanager to hide it.


1

Suppose that there are five hard links for /home. The five hard links are /home/., /home/.., and for the three subdirs s of /home /home/s/... Note that if /home is on its own partition, then the references to /home/.. and /home/. are identical, however /home/.. is nonetheless evaluated to /. This is because every directory has entries for . and .., even a ...


1

-Yeah, you see any partitions independently of what the name is a sub-partition "Root - / " because it is the primary partition of the system it is the whole system, hence the name "root" starts as a tree that starts at the root, the same occurs in the system, only it is not for this that also have other partitions starting or being present on the same disk, ...


1

In my Ubuntu 12.04, /home and / are different partitions. But why does /home look like a subdirectory of /? Partitions and directory structure are two completely separate things. One has nothing to do with the other. /home is a subdirectory of /. How can I show all the hard links for /home? I don't believe that there is any easy command to show ...


1

You can use bindfs. It can bind the filesystem to some other mountpoint with different uid/gid. However I think I would just change the uid so it is the same on both systems.


1

Sometimes the copy succeeds and sometimes it fails. Probably it fail because some process in the while wrote to the mounted filesystem, guess that's why is a good practice to umount before :-) dd should really be just open and write, I guess the MacOSX version add some control and I think is easy to understand why with their device names, compared to ...


1

Execute the below command to force and Detach the filesystem from the filesystem hierarchy, and cleanup all references to the filesystem as soon as it is not busy anymore. umount -lf /mnt/rescue



Only top voted, non community-wiki answers of a minimum length are eligible