similar to: syconf(_SC_PAGESIZE) versus getpagesize()

Displaying 20 results from an estimated 1000 matches similar to: "syconf(_SC_PAGESIZE) versus getpagesize()"

1999 Jan 23
4
smbwrapper
> What you are looking for is smbwrapper, which is in fact included with Samba > 2.0. However as it is not supported on all systems it is not included > in the default build (it should work nicely on Solaris though). > Essentially smbwrapper is a preloaded library which intercepts system calls and > simulates a /smb filesystem, so you can access /smb/SERVER/SHARE/file.txt.
2012 Mar 13
2
mkswap, lvm and bootbits sectors
Hello, I am confused by a warning from mkswap : When making a swap on a LVM volume, I see the following warning : mkswap: /dev/vg_SDB1/swap_test6_64: warning: don't erase bootbits sectors on whole disk. Use -f to force. Setting up swapspace version 1, size = 1048572 KiB Is it safe to use mkswap -f in this case ? (If that matters, the swap is intended for a virtual machine, and the
2005 Oct 21
4
Mounting swap fails in domU (badiane)
Has anyone experienced a swap failing to be mounted in domU''s? I created a LVM swap space, ran mkswap and made it available on the same line as the root partition (also on LVM) in each of the domU''s config file. But it fails to be mounted and I''m running without swap space. That wouldn''t be too much of a problem if I had a lot of mem to play with but
2009 Aug 19
1
[PATCH] tests: Conditionally skip UUID tests.
-- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 75 OCaml packages (the OPEN alternative to F#) http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora -------------- next part -------------- >From aba008ae3c08242aaab3fc184d4a3e64864a1eb9 Mon Sep 17 00:00:00 2001 From: Richard W.M.
2005 Jan 14
1
mkswap in guests
kaffe:/home/doogie# mkswap /dev/hda mkswap: Will not try to make swapdevice on ''%s'' Is this supposed to work? See my previous email as for the mapping. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It''s fun and FREE -- well,
2018 Apr 12
4
[PATCH 0/2] Support for expanding f2fs partitions
Hi, this small patch series exposes one of the utility in f2fs-tools, and use it to expand f2fs partitions in virt-resize. Thanks, Pino Toscano (2): New API: f2fs_expand resize: expand f2fs partitions daemon/Makefile.am | 1 + daemon/f2fs.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++ generator/actions_core.ml | 9 +++++++++ generator/proc_nr.ml | 1 +
2016 Nov 25
3
[PATCH 1/2] daemon: allow to change the labels of swap partitions
--- daemon/daemon.h | 1 + daemon/labels.c | 3 +++ daemon/swap.c | 21 +++++++++++++++++++++ generator/actions.ml | 4 ++++ 4 files changed, 29 insertions(+) diff --git a/daemon/daemon.h b/daemon/daemon.h index 79a5288..2379e31 100644 --- a/daemon/daemon.h +++ b/daemon/daemon.h @@ -254,6 +254,7 @@ extern int64_t ntfs_minimum_size (const char *device); /*-- in swap.c --*/
2017 Aug 18
1
[PATCH] resize: handle empty UUIDs for swap partitions (RHBZ#1482737)
Avoid passing an empty UUID string to mkswap, which mkswap does not accept (correctly) as new UUID. In addition, print a warning when the UUID of a swap partition changed, since it may require manual fixups in the guest. --- resize/resize.ml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/resize/resize.ml b/resize/resize.ml index fbb2d021b..48c75161d 100644
2011 Mar 10
1
mkswap - unable to relabel, operation not supported
Hi, I am getting following error on creating a swap fs. CentOS 5.5 {{{ mkswap: unable to relabel /srv/cloud/one/var/25/images/disk.1 to system_u:object_r:swapfile_t: Operation not supported }}} The selinux is configured in permissive mode. Any clues on what might be wrong here and how to fix it? {{{ # /bin/dd if=/dev/zero of=/srv/cloud/one/var/25/images/disk.1 bs=1 count=1 seek=512M # sudo
2012 Jan 05
2
swap labeling annoyance
I just upgraded a blade server via rsync from another server. Rebuilt the initrd. It boots fine... except that it won't turn on the swap partition. Several times, I've made sure swap was off, then mkswap -L SWAP-sda3 /dev/sda3, but when I do swapon -L SWAP-sda3, it complains it can't find the device for the label. The only thing I find while googling, other than redoing what I've
2002 Dec 30
2
Expected service, found `wins, dns, files'
Can anyone peruse my attached host.conf file and determine what missing statement this error is referring to? Here is the command that generated this error: [root@cofr3 s390]# /usr/sbin/rndc reload /etc/host.conf: line 11: expected service, found `wins, dns, files' rndc: reload command successful Thank you in advance for your time. -------------- next part -------------- # # /etc/host.conf
2010 Jul 06
4
why i can not put my swap files in /dev?
I tried to create some swap files in /dev directory for my desktop. the dd and mkswap were ok. but when I try to swapon it, i get this: # swapon /dev/myswap swapon: /dev/myswap: Invalid argument but when I mv the file to some other directory like /mnt or /, the swapon works. could sb. tell me why? -- Tang Jianwei
2005 Jul 08
2
Accidentally issued "mkswap" on ext3 fs -- recovery possible?
Hi, I accidentally issued "mkswap" on a used ext3 fs partition (~30G) :-/ I have analyzed the behaviour of mkswap using two test files and it appears to only change "some" bytes: --8<-- --- swap2.xxd 2005-07-04 21:00:10.157261360 +0200 +++ swap1.xxd 2005-07-04 21:00:01.894517488 +0200 @@ -62,7 +62,7 @@ 00003d0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
2007 May 09
2
how to create label fo swap space
I just add a partition /dev/sdb3 and use "mkswap /dev/sdb3" to make it swap space. How can I label the /dev/sdb3 like "SWAP-sdb3"? what I want is put on /etc/fstab as entry like: LABEL=SWAP-sdb2 swap swap defaults 0 0 LABEL=SWAP-sdb3 swap swap defaults 0 0 Thanks
2000 Feb 21
1
OpenSSH doesn't compile under Solaris 2.3 Sparc
Hi, We are trying to get OpenSSH-1.2.2 stable release to compile under Solaris 2.3 Sparc. It worked perfect for Solaris 2.5, Solaris 2.5.1, Solaris 7 (All on Sparc) and Linux 2.2.13 Intel x86 OpenSSL installs fine without problem, zlib is installed fine without problems and egd.pl installs fine without problems. These are all the current releases, I can get the version numbers if you need
2009 Aug 20
3
No swap on domU
Hi guys. DomU config disk = [ ''phy:/dev/xen00/debian5-base,sda1,w'', ''phy:/dev/xen00/debian5-swap,sda2,w'', ] ----------------------- mkswap /dev/xen00/debian5-swap But in domU in booting: Activating swap...failed. What wrong? -- Best Regards, alex.faq8@gmail.com
2007 Jul 21
2
Please How do I calculate the offset of a file within a ext3 partition
Hi, I need to understand and to calculate the offset of the beginning of a file within my partition which uses an ext3 filesystem. Can I use dumpe2fs to figure that out, if yes how? Sincerely, William Tambe
2015 Nov 04
1
[PATCH 0/1] sparsify: Let --in-place capture ^C and shut down gracefully
This patch is easier to read if you use the 'git show -w' option. Also observe that: fun a -> ( fun () -> (* code *) ) (ie. returning a closure) is identical to: fun a () -> (* code *) Rich.
2013 Oct 21
11
swapfile on btrfs, temporary solution for wiki
Hello list, i know what btrfs don''t support swap files. I read arch wiki and when i reading about systemd addon for auto create swapfile on btrfs, i invent the way, how create and using swap file, just see following sh code: swapfile=$(losetup -f) #free loop device truncate -s 8G /swap #create 8G sparse swap file losetup $swapfile /swap #mount file to loop mkswap $swapfile swapon
2005 Oct 14
1
debian+xen: System fails to mount swap, mydql not starting
I have resolved my mysql problem it had to do with an improperly configured host file. My most pressing problem is why mounting swap fails in all my domU''s. My disks are LVM based. /dev/xen/www_swap for example it the (duh!) swap space for the www domain and exported from the xen file as disk = [ ''phy:xen/www,sda1,w'' , ''phy:xen/www_swap,sda2,w'' ] I