Tag Info

Hot answers tagged

17

autofs can do this for you. You can configure any number of mountpoints with various options, and the corresponding filesystems are mounted whenever the mountpoint is accessed. After a given amount of inactivity the filesystems are unmounted again. There are no doubt various ways of using autofs, but here's one way of doing what you're trying to do, based ...


9

You can do this with systemd, so you don't have to install extra software and just have a small amount of extra configuration. Simply add noauto,x-systemd.automount to the options in fstab. noauto to not mount automatically on boot and x-systemd.automount to let systemd mount it on access. Source: ArchWiki - fstab


7

From the btrfs gotchas page: Files with a lot of random writes can become heavily fragmented (10000+ extents) causing trashing on HDDs and excessive multi-second spikes of CPU load on systems with an SSD or large amount a RAM. On servers and workstations this affects databases and virtual machine images. The nodatacow mount option may be ...


4

That key/schema was removed in gnome-shell ≥ 3.10 so the solutions you found on the internet no longer work. Ray Strode, gnome dev1: I've had a couple of people ask me if there's a way to do this in gnome-shell 3.10 and later and I haven't had a good answer. It's complicated by the fact that g-s-d now handles starting things and the ...


2

This is a known error in Samsung SSDs: The drives do not properly implement queued trim commands. However, Ubuntu (and probably most other Linux distributions) now implement trim as a cronjob to improve performance, so this is not of any practical concern. For more details, see the kernel bug on this: https://bugzilla.kernel.org/show_bug.cgi?id=72341 ...


2

Based on don_crissti answer, I have created a bash script for automating this task. Here is the script: #!/bin/bash if [ -z $1 ]; then echo "usage: screencast <outfile>" exit 1 fi fname=$1 audio=$(pacmd list-sources | sed -n 's/\s*name: <\(.*\.monitor\)>/\1/p') pacmd set-default-source "$audio" echo "Screencast started, to stop it ...


2

As the error message states, your filesystem is mounted read-only. If you are using kernel NTFS driver, it does not mount filesystem read/write, as that is considered unsafe. Your best bet is to use ntfs-3g, which IIRC, does read/write mount by default and is considered safe for writing.


2

This scheme is certainly workable. You are right, the best solution is to transform your current layout as little as it is possible. If you don't ask Arch Linux to install his Grub bootloader, you'll have to run grub-mkconfig -o /boot/grub/grub.cfg in Ubuntu (if you have os-prober installed, it will find your Arch installation and update all the config ...


2

Most probably /etc/ppp/ip-up.d is the location you are looking for. My example is valid on Gentoo Linux but the same directory structure seems to exist on Arch. Every time a VPN connection is made /etc/ppp/ip-up is run, which typically executes /etc/ppp/ip-up.d/* in turn. Its first argument is the attached pppn device. Put this script under ...


1

While dual booting is a useful concept to allow you to use both Windows and Linux on the same machine, the benefits of dual booting Linux are more subtle. The boot process in Linux typically involves using a boot loader to load a kernel and ram disk which eventually mounts the root file system and lets you do things. Different distros have different kernels, ...


1

It seems that you haven't loaded the kernel module "vboxdrv". Use 'modprobe' to load the module and then try. In case if something goes wrong try installing again the required packages. There is a pretty good documentation on arch linux.


1

It looks like pacaur supports --noconfirm: --noconfirm do not prompt for any confirmation The following may also be useful: --noedit do not prompt to edit files


1

Something is obviously wrong with the installation. Perhaps you're ignoring an important warning? Make a full console log of the installation process, adding df and ls root before umount boot root. Analize each warning you see, add warnings you don't understand to your post. If there are no warnings during installation, check the output of dmesg, mount, df ...


1

It's possible, although it's not a good idea to mix package management systems... An Arch package is an xz-compressed tarball containing the package's files and some meta-data, stored in .PKGINFO, .INSTALL and .MTREE. To extract a package, simply run tar xf on it in a temporary directory; if you then decide you want to install the contents you can move them ...


1

Yes, there is a new mirror for it now. You need to add this to your pacman config: [haskell-core] Server = http://orbitalfox.com/haskell/core/$arch Information about the mirrors here: https://wiki.archlinux.org/index.php/ArchHaskell#Available_repositories Also consider changing the download command use to curl or wget, as they are more persistent at ...


1

This Configuration uses randomly generated keys at boot and will not support Hibernation to hard disk! You Should Disable Hibernation through your respectie DE Power Management Utility and set it to Shutdown on Critical to avoid Data Loss! Make sure to run sudo -s or su before running the following. Disable Swap: # swapoff -a Locate the existing Swap ...



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