Quantcast
Channel: Is there a directory equivalent of /dev/null in Linux? - Server Fault
Browsing latest articles
Browse All 5 View Live

Answer by 200_success for Is there a directory equivalent of /dev/null in Linux?

This Unix question has some suggestions for creating a "blackhole" directory, including a nullfs FUSE filesystem.

View Article



Answer by oals for Is there a directory equivalent of /dev/null in Linux?

You can use mktemp -d to create a new empty temporary directory with secure permissions, by default in /tmp/. The utility will output the new directory's path on STDOUT, so it is useful in the...

View Article

Answer by HBruijn for Is there a directory equivalent of /dev/null in Linux?

For services systemd provides the option PrivateTmp to create private /tmp and /var/tmp directories that are not shared by processes outside of the namespace for that service and which should be empty...

View Article

Answer by Michael Hampton for Is there a directory equivalent of /dev/null in...

The FHS provides no "standard" empty directory.It is common for Linux systems to provide a directory /var/empty, but this directory is not defined in FHS and may not actually be empty. Instead, certain...

View Article

Is there a directory equivalent of /dev/null in Linux?

When configuring an application, you can often use /dev/null as config file if you want the application to read an empty file. But, if the application reads a list of files from a directory, you cannot...

View Article

Browsing latest articles
Browse All 5 View Live




Latest Images