Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to copy my system hdd usb stick from 4GB to 8GB ? Post 302303022 by TonyFullerMalv on Wednesday 1st of April 2009 04:13:16 PM
Old 04-01-2009
1.
Quote:
Please tell me if copy can preserve symbolic links, already created on
part2, part3 (for data) ?
2. Using:
Code:
# find /mount/source | cpio -pdmv /mount/target

to copy the partition of one stick to another will preserve symbolic links.

3. The USB stick evidently does not need to be bootable it is simply adding writable storage to the Linux already installed in the router.

4. Using a USB stick for swap on a system that has enough memory such that it does not use swap is okay is it not? This is assuming Linux is like Solaris and does keep a copy of memory in swap all the time but only:
1. Uses swap when the OS is actually low on memory.
2. Swap out a process in memory has not been used for a long time (in which case it will get swapped out but may not need swapping back in if the copy in memory is still resident)?

Last edited by TonyFullerMalv; 04-01-2009 at 05:26 PM..
 

8 More Discussions You Might Find Interesting

1. SCO

Copy files to a USB stick SCO 5.07?

SCO 5.07: How do I copy files to a USB memory stick? The stick is formatted as a hd and has an active Unix partition using the hole stick for Unix. How do I get acces to the stick? (1 Reply)
Discussion started by: pschnell
1 Replies

2. UNIX for Dummies Questions & Answers

Aix usb stick

I have a P-Series Machine running AIX 5.3, it has a USB Port on the front of the server, can I use a USB Stick on AIX platforms?? if so how..:rolleyes: (2 Replies)
Discussion started by: BEVAN
2 Replies

3. SCO

How do I copy files into USB memory stick

SCO Unix ver 5.07 How do I copy files onto an USB memory stick? Is SCO Unix ver 5.07 able to handle USB memory devices? (2 Replies)
Discussion started by: Schnell
2 Replies

4. Filesystems, Disks and Memory

Mount USB stick...

Dummies questions, perfect for this. I cannot mount my idiotic usb stick on Slackware, I input the following on non-graphic mode as root: Mount -t vfat /dev/sdc1/usbstick usbstick is the folder i created for mounting my USB, the file system is FAT, and everytime I input that I get some kind... (2 Replies)
Discussion started by: Dax01
2 Replies

5. BSD

Mounting a USB stick in FreeBSD

When mounting a USB stick or pen drive on a FreeBSD machine I always issue the following command: mount -t msdosfs /dev/da0s1 /mnt Something I have always wondered is what the option msdosfs stands for and more importantly, why it is necessary. (7 Replies)
Discussion started by: figaro
7 Replies

6. Ubuntu

Ubuntu on USB stick?

Hey Guys I have an Ubuntu CD and I was thinking of creating like a bootable hard drive with various OS so that I can just boot OSs with t drive and not require the CDs. I was just wondering is there a way I can do this, like have Ubuntu boot from a USB stick? If yes how is that possible(even if I... (3 Replies)
Discussion started by: rbansal2
3 Replies

7. SCO

Mount USB stick

hi Howto mount an USB stick under SCO 5.0.7? BTW ist it possible to mount USB stick in the command line using 'tools' at the Boot: prompt from OpenServer Release 5.0.7 installation CD? (1 Reply)
Discussion started by: ccc
1 Replies

8. SCO

How to use USB Stick in UNIXware?

I am trying to use a USB (Pen?) drive on Unixware 7.1.4. The USB stick is in the machine and the machine recognises it when I enter usbprobe as follows: Path - Address Description ----------------------------- +++++++ BUS #2 0 - 1 - HUB "UHCI Root Hub" 1 - 2 - HID "Chicony Wireless Device"... (1 Reply)
Discussion started by: BernP
1 Replies
SYSTEMD.SWAP(5) 						   systemd.swap 						   SYSTEMD.SWAP(5)

NAME
systemd.swap - systemd swap configuration files SYNOPSIS
systemd.swap DESCRIPTION
A unit configuration file whose name ends in .swap encodes information about a swap device or file for memory paging controlled and supervised by systemd. This man page lists the configuration options specific to this unit type. See systemd.unit(5) for the common options of all unit configuration files. The common configuration items are configured in the generic [Unit] and [Install] sections. The swap specific configuration options are configured in the [Swap] section. Swap units must be named after the devices (resp. files) they control. Example: the swap device /dev/sda5 must be configured in a unit file dev-sda5.swap. For details about the escaping logic used to convert a file system path to a unit name see systemd.unit(5). All swap units automatically get the appropriate dependencies on the devices (resp. on the mount points of the files) they are activated from. Swap units with DefaultDependencies= enabled implicitly acquire a conflicting dependency to umount.target so that they are deactivated at shutdown. FSTAB
Swap units may either be configured via unit files, or via /etc/fstab (see fstab(5) for details). If a swap device or file is configured in both /etc/fstab and a unit file the configuration in the latter takes precedence. Unless the noauto option is set for them all swap units configured in /etc/fstab are also added as requirements to swap.target, so that they are waited for and activated during boot. OPTIONS
Swap files must include a [Swap] section, which carries information about the swap device it supervises. A number of options that may be used in this section are shared with other unit types. These options are documented in systemd.exec(5). The options specific to the [Swap] section of swap units are the following: What= Takes an absolute path of a device node or file to use for paging. See swapon(8) for details. If this refers to a device node, a dependency on the respective device unit is automatically created. (See systemd.device(5) for more information.) If this refers to a file, a dependency on the respective mount unit is automatically created. (See systemd.mount(5) for more information.) This option is mandatory. Priority= Swap priority to use when activating the swap device or file. This takes an integer. This setting is optional. TimeoutSec= Configures the time to wait for the swapon command to finish. If a command does not exit within the configured time the swap will be considered failed and be shut down again. All commands still running will be terminated forcibly via SIGTERM, and after another delay of this time with SIGKILL. (See KillMode= below.) Takes a unit-less value in seconds, or a time span value such as "5min 20s". Pass 0 to disable the timeout logic. Defaults to 90s. KillMode= Specifies how processes of this swap shall be killed. One of control-group, process, none. This option is mostly equivalent to the KillMode= option of service files. See systemd.service(5) for details. KillSignal= Specifies which signal to use when killing a process of this swap. Defaults to SIGTERM. SendSIGKILL= Specifies whether to send SIGKILL to remaining processes after a timeout, if the normal shutdown procedure left processes of the swap around. Takes a boolean value. Defaults to "yes". SEE ALSO
systemd(1), systemctl(8), systemd.unit(5), systemd.exec(5), systemd.device(5), systemd.mount(5), swapon(8) AUTHOR
Lennart Poettering <lennart@poettering.net> Developer systemd 10/07/2013 SYSTEMD.SWAP(5)
All times are GMT -4. The time now is 03:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy