package fs; # $Id$ use diagnostics; use strict; use MDK::Common::System; use MDK::Common::Various; use common; use log; use devices; use partition_table qw(:types); use run_program; use swap; use detect_devices; use modules; use fsedit; use loopback; sub read_fstab { my ($prefix, $file, $all_options) = @_; my %comments; my $comment; my @l = grep { if (/^\s*#/) { $comment .= chomp_($_) . "\n"; 0; } else { $comments{$_} = $comment if $comment; $comment = ''; 1; } } cat_("$prefix$file"); #- attach comments at the end of fstab to the previous line $comments{$l[-1]} = $comment if $comment; map { my ($dev, $mntpoint, $type, $options, $freq, $passno) = split; my $comment = $comments{$_}; $options = 'defaults' if $options eq 'rw'; # clean-up for mtab read $type = fs2type($type); if ($type eq 'supermount') { # normalize this bloody supermount $options = join(",", 'supermount', grep { if (/fs=(.*)/) { $type = $1; 0; } elsif (/dev=(.*)/) { $dev = $1; 0; } elsif ($_ eq '--') { 0; } else { 1; } } split(',', $options)); } elsif ($type eq 'smb') { # prefering type "smbfs" over "smb" $type = 'smbfs'; } $mntpoint =~ s/\\040/ /g; $dev =~ s/\\040/ /g; my $h = { device => $dev, mntpoint => $mntpoint, type => $type, options => $options, comment => $comment, if_($all_options, freq => $freq, passno => $passno), }; if ($dev =~ /^LABEL=/) { if (my ($e) = grep { $_->{mntpoint} eq $mntpoint } read_fstab('', '/proc/mounts')) { $h->{device_LABEL} = $dev; $dev = $h->{device} = $e->{device}; } } if ($dev =~ m,/(tmp|dev)/,) { ($h->{major}, $h->{minor}) = unmakedev((stat "$prefix$dev")[6]); my $symlink = readlink("$prefix$dev"); $dev =~ s,/(tmp|dev)/,,; if ($symlink =~ m|^[^/]+$|) { $h->{device_alias} = $dev; $h->{device} = $symlink; } else { $h->{device} = $dev; } } if ($h->{options} =~ /credentials=/) { require network::smb; #- remove credentials=file with username=foo,password=bar,domain=zoo #- the other way is done in fstab_to_string my ($options, $unknown) = mount_options_unpack($h); my $file = delete $options->{'credentials='}; my $credentials = network::smb::read_credentials_raw($file); if ($credentials->{username}) { $options->{"$_="} = $credentials->{$_} foreach qw(username password domain); mount_options_pack($h, $options, $unknown); } } $h; } @l; } sub merge_fstabs { my ($loose, $fstab, @l) = @_; foreach my $p (@$fstab) { my ($p2) = grep { fsedit::is_same_hd($_, $p) } @l or next; @l = grep { !fsedit::is_same_hd($_, $p) } @l; $p->{mntpoint} = $p2->{mntpoint} if delete $p->{unsafeMntpoint}; $p->{type} = $p2->{type} if $p2->{type} && !$loose; $p->{options} = $p2->{options} if $p2->{options} && !$loose; #- important to get isMounted property else DrakX may try to mount already mounted partitions :-( add2hash($p, $p2); $p->{device_alias} ||= $p2->{device_alias} || $p2->{device} if $p->{device} ne $p2->{device} && $p2->{device} !~ m|/|; $p->{type} && $p2->{type} && $p->{type} ne $p2->{type} && type2fs($p) ne type2fs($p2) && $p->{type} ne 'auto' && $p2->{type} ne 'auto' and log::l("err, fstab and partition table do not agree for $p->{device} type: " . (type2fs($p) || type2name($p->{type})) . " vs ", (type2fs($p2) || type2name($p2->{type}))); } @l; } sub add2all_hds { my ($all_hds, @l) = @_; @l = merge_fstabs('', [ fsedit::get_really_all_fstab($all_hds) ], @l); foreach (@l) { my $s = isThisFs('nfs', $_) ? 'nfss' : isThisFs('smbfs', $_) ? 'smbs' : isThisFs('davfs', $_) ? 'davs' : 'special'; push @{$all_hds->{$s}}, $_; } } sub get_major_minor { eval { my (undef, $major, $minor) = devices::entry($_->{device}); ($_->{major}, $_->{minor}) = ($major, $minor); } foreach @_; } sub merge_info_from_mtab { my ($fstab) = @_; my @l1 = map { my $l = $_; my %l = (type => fs2type('swap')); $l{$_} = $l->{$_} foreach qw(device major minor); \%l; } read_fstab('', '/proc/swaps'); my @l2 = map { read_fstab('', $_) } '/etc/mtab', '/proc/mounts'; foreach (@l1, @l2) { log::l("found mounted partition on $_->{device} with $_->{mntpoint}"); if ($::isInstall && $_->{mntpoint} eq '/tmp/hdimage') { log::l("found hdimage on $_->{device}"); $_->{real_mntpoint} = delete $_->{mntpoint}; $_->{mntpoint} = common::usingRamdisk() && "/mnt/hd"; #- remap for hd install. } $_->{isMounted} = $_->{isFormatted} = 1; delete $_->{options}; } merge_fstabs('loose', $fstab, @l1, @l2); } # - when using "$loose", it does not merge in type&options from the fstab sub merge_info_from_fstab { my ($fstab, $prefix, $uniq, $loose) = @_; my @l = grep { if ($uniq) { my $part = fsedit::mntpoint2part($_->{mntpoint}, $fstab); !$part || fsedit::is_same_hd($part, $_); #- keep it only if it is the mountpoint AND the same device } else { 1; } } read_fstab($prefix, "/etc/fstab", 'all_options'); merge_fstabs($loose, $fstab, @l); } sub prepare_write_fstab { my ($all_hds, $prefix, $keep_smb_credentials) = @_; $prefix ||= ''; my @l_in = (fsedit::get_really_all_fstab($all_hds), @{$all_hds->{special}}); my %new; my @smb_credentials; my @l = map { my $device = $_->{device} eq 'none' || member($_->{type}, qw(nfs smbfs davfs)) ? $_->{device} : isLoopback($_) ? ($_->{mntpoint} eq '/' ? "/initrd/loopfs" : "$_->{loopback_device}{mntpoint}") . $_->{loopback_file} : do { my $dir = $_->{device} =~ m!^(/|LABEL=)! ? '' : '/dev/'; eval { devices::make("$prefix$dir$_->{device}") }; "$dir$_->{device}"; }; my $real_mntpoint = $_->{mntpoint} || ${{ '/tmp/hdimage' => '/mnt/hd' }}{$_->{real_mntpoint}}; mkdir("$prefix$real_mntpoint", 0755) if $real_mntpoint =~ m|^/|; my $mntpoint = loopback::carryRootLoopback($_) ? '/initrd/loopfs' : $real_mntpoint; my ($freq, $passno) = exists $_->{freq} ? ($_->{freq}, $_->{passno}) : isTrueFS($_) && $_->{options} !~ /encryption=/ ? (1, $_->{mntpoint} eq '/' ? 1 : loopback::carryRootLoopback($_) ? 0 : 2) : (0, 0); if (($device eq 'none' || !$new{$device}) && ($mntpoint eq 'swap' || !$new{$mntpoint})) { #- keep in mind the new line for fstab. $new{$device} = 1; $new{$mntpoint} = 1; my $options = $_->{options}; if (isThisFs('smbfs', $_) && $options =~ /password=/ && !$keep_smb_credentials) { require network::smb; if (my ($opts, $smb_credentials) = network::smb::fstab_entry_to_credentials($_)) { $options = $opts; push @smb_credentials, $smb_credentials; } } my $type = type2fs($_); my $dev = $_->{device_LABEL} ? $_->{device_LABEL} : $_->{device_alias} ? "/dev/$_->{device_alias}" : $device; $mntpoint =~ s/ /\\040/g; $dev =~ s/ /\\040/g; # handle bloody supermount special case if ($options =~ /supermount/) { my @l = grep { $_ ne 'supermount' } split(',', $options); my @l1 = grep { member($_, 'ro', 'exec') } @l; my @l2 = difference2(\@l, \@l1); $options = join(",", "dev=$dev", "fs=$type", @l1, if_(@l2, '--', @l2)); ($dev, $type) = ('none', 'supermount'); } [ $mntpoint, $_->{comment} . join(' ', $dev, $mntpoint, $type, $options || 'defaults', $freq, $passno) . "\n" ]; } else { () } } grep { $_->{device} && ($_->{mntpoint} || $_->{real_mntpoint}) && $_->{type} } @l_in; join('', map { $_->[1] } sort { $a->[0] cmp $b->[0] } @l), \@smb_credentials; } sub fstab_to_string { my ($all_hds, $prefix) = @_; my ($s, undef) = prepare_write_fstab($all_hds, $prefix, 'keep_smb_credentials'); $s; } sub write_fstab { my ($all_hds, $prefix) = @_; log::l("writing $prefix/etc/fstab"); my ($s, $smb_credentials) = prepare_write_fstab($all_hds, $prefix, ''); output("$prefix/etc/fstab", $s); network::smb::save_credentials($_) foreach @$smb_credentials; } sub auto_fs() { grep { chop; $_ && !/nodev/ } cat_("/etc/filesystems"); } sub mount_options { my %non_defaults = ( sync => 'async', noatime => 'atime', noauto => 'auto', ro => 'rw', user => 'nouser', nodev => 'dev', noexec => 'exec', nosuid => 'suid', ); my @user_implies = qw(noexec nodev nosuid); \%non_defaults, \@user_implies; } # simple function # use mount_options_unpack + mount_options_pack for advanced stuff sub add_options(\$@) { my ($option, @options) = @_; my %l; @l{split(',', $$option), @options} = (); delete $l{defaults}; $$option = join(',', keys %l) || "defaults"; } sub mount_options_unpack { my ($part) = @_; my $packed_options = $part->{options}; my ($non_defaults, $user_implies) = mount_options(); my @auto_fs = auto_fs(); my %per_fs = ( iso9660 => [ qw(unhide) ], vfat => [ qw(umask=0) ], nfs => [ qw(rsize=8192 wsize=8192) ], smbfs => [ qw(username= password=) ], davfs => [ qw(username= password= uid= gid=) ], reiserfs => [ 'notail' ], ); push @{$per_fs{$_}}, 'usrquota', 'grpquota' foreach 'ext2', 'ext3', 'xfs'; while (my ($fs, $l) = each %per_fs) { isThisFs($fs, $part) || $part->{type} eq 'auto' && member($fs, @auto_fs) or next; $non_defaults->{$_} = 1 foreach @$l; } $non_defaults->{encrypted} = 1 if !$part->{isFormatted} || isSwap($part); $non_defaults->{supermount} = 1 if member(type2fs($part), 'auto', @auto_fs); my $defaults = { reverse %$non_defaults }; my %options = map { $_ => '' } keys %$non_defaults; my @unknown; foreach (split(",", $packed_options)) { if ($_ eq 'user') { $options{$_} = 1 foreach ('user', @$user_implies); } elsif (exists $non_defaults->{$_}) { $options{$_} = 1; } elsif ($defaults->{$_}) { $options{$defaults->{$_}} = 0; } elsif (/(.*?=)(.*)/) { $options{$1} = $2; } else { push @unknown, $_; } } # merge those, for cleaner help $options{'rsize=8192,wsize=8192'} = delete $options{'rsize=8192'} && delete $options{'wsize=8192'} if exists $options{'rsize=8192'}; my $unknown = join(",", @unknown); \%options, $unknown; } sub mount_options_pack_ { my ($part, $options, $unknown) = @_; my ($non_defaults, $user_implies) = mount_options(); my @l; if (delete $options->{user}) { push @l, 'user'; foreach (@$user_implies) { if (!delete $options->{$_}) { # overriding $options->{$non_defaults->{$_}} = 1; } } } push @l, map_each { if_($::b, $::a =~ /=$/ ? "$::a$::b" : $::a) } %$options; push @l, $unknown; join(",", uniq(grep { $_ } @l)); } sub mount_options_pack { my ($part, $options, $unknown) = @_; $part->{options} = mount_options_pack_($part, $options, $unknown); noreturn(); } sub mount_options_help { my %help = map { $_ => '' } @_; my %short = map { if_(/(.*?)=/, "$1=" => $_) } keys %help; foreach (split(':', $ENV{LANGUAGE}), '') { my $manpage = "/usr/share/man/$_/man8/mount.8.bz2"; -e $manpage or next; my ($tp, $option); foreach (`bzip2 -dc $manpage`) { my $prev_tp = $tp; $tp = /^\.(TP|RE)/; my ($s) = /^\.B (.*)/; if ($prev_tp && $s eq '\-o' .. /X^/) { if (my $v = $prev_tp && $s =~ /^[a-z]/i .. $tp) { if ($v == 1) { $s = $short{$s} || $s; $option = exists $help{$s} && !$help{$s} ? $s : ''; } elsif ($v !~ 'E0') { s/\\//g; s/\s*"(.*?)"\s*/$1/g if s/^\.BR\s+//; s/^\.B\s+//; $help{$option} .= $_ if $option; } } } } } %help; } sub set_default_options { my ($part, $is_removable, $useSupermount, $security, $iocharset, $codepage) = @_; my ($options, $unknown) = mount_options_unpack($part); if ($is_removable) { $options->{supermount} = $useSupermount; $part->{type} = 'auto'; # if supermount, code below will handle choosing the right type } my $is_auto = isThisFs('auto', $part); if ($part->{media_type} eq 'cdrom') { $options->{ro} = 1; } if ($part->{media_type} eq 'fd') { # slow device so don't loose time, write now! $options->{sync} = 1; } if (isTrueFS($part)) { #- noatime on laptops (do not wake up the hd) #- Do not update inode access times on this #- file system (e.g, for faster access on the #- news spool to speed up news servers). $options->{noatime} = detect_devices::isLaptop(); } if (isThisFs('nfs', $part)) { put_in_hash($options, { nosuid => 1, 'rsize=8192,wsize=8192' => 1, soft => 1, }); } if (isFat($part) || $is_auto) { put_in_hash($options, { user => 1, noexec => 0, }) if !exists $part->{rootDevice}; # partition means no removable media put_in_hash($options, { 'umask=0' => $security < 3, 'iocharset=' => $iocharset, 'codepage=' => $codepage, }); } if (isThisFs('ntfs', $part) || $is_auto) { put_in_hash($options, { 'iocharset=' => $iocharset }); } if (isThisFs('iso9660', $part) || $is_auto) { put_in_hash($options, { user => 1, noexec => 0, 'iocharset=' => $iocharset }); } if (isThisFs('reiserfs', $part)) { $options->{notail} = 1; } if (isLoopback($part) && !isSwap($part)) { #- no need for loop option for swap files $options->{loop} = 1; } # rationalize: no need for user if ($options->{autofs} || $options->{supermount}) { $options->{user} = 0; } # have noauto when we have user $options->{noauto} = 1 if $options->{user}; if ($options->{user}) { # ensure security (user_implies - noexec as noexec is not a security matter) $options->{$_} = 1 foreach 'nodev', 'nosuid'; } mount_options_pack($part, $options, $unknown); } sub set_all_default_options { my ($all_hds, $useSupermount, $security, $iocharset, $codepage) = @_; my @removables = @{$all_hds->{raw_hds}}; foreach my $part (fsedit::get_really_all_fstab($all_hds)) { set_default_options($part, member($part, @removables), $useSupermount, $security, $iocharset, $codepage); } } sub set_removable_mntpoints { my ($all_hds) = @_; my %names; foreach (@{$all_hds->{raw_hds}}) { my $name = $_->{media_type}; if (member($name, 'hd', 'fd')) { if (detect_devices::isZipDrive($_)) { $name = 'zip'; } elsif ($name eq 'fd') { $name = 'floppy'; } else { log::l("set_removable_mntpoints: don't know what to with hd $_->{device}"); next; } } if ($name) { my $s = ++$names{$name}; $_->{mntpoint} ||= "/mnt/$name" . ($s == 1 ? '' : $s); } } } sub get_raw_hds { my ($prefix, $all_hds) = @_; $all_hds->{raw_hds} = [ detect_devices::floppies(), detect_devices::cdroms__faking_ide_scsi(), detect_devices::zips__faking_ide_scsi(), ]; get_major_minor(@{$all_hds->{raw_hds}}); my @fstab = read_fstab($prefix, "/etc/fstab", 'all_options'); $all_hds->{nfss} = [ grep { isThisFs('nfs', $_) } @fstab ]; $all_hds->{smbs} = [ grep { isThisFs('smbfs', $_) } @fstab ]; $all_hds->{davs} = [ grep { isThisFs('davfs', $_) } @fstab ]; $all_hds->{special} = [ (grep { isThisFs('tmpfs', $_) } @fstab), { device => 'none', mntpoint => '/proc', type => 'proc' }, { device => 'none', mntpoint => '/dev/pts', type => 'devpts', options => 'mode=0620' }, ]; } ################################################################################ # formatting functions ################################################################################ sub disable_forced_fsck { my ($dev) = @_; run_program::run("tune2fs", "-c0", "-i0", devices::make($dev)); } sub format_ext2($@) { #- mke2fs -b (1024|2048|4096) -c -i(1024 > 262144) -N (1 > 100000000) -m (0-100%) -L volume-label #- tune2fs my ($dev, @options) = @_; $dev =~ m,(rd|ida|cciss)/, and push @options, qw(-b 4096 -R stride=16); #- For RAID only. push @options, qw(-b 1024 -O none) if arch() =~ /alpha/; run_program::run('mke2fs', '-F', @options, devices::make($dev)) or die _("%s formatting of %s failed", "ext2", $dev); } sub format_ext3 { my ($dev, @options) = @_; format_ext2($dev, "-j", @options); disable_forced_fsck($dev); } sub format_reiserfs { my ($dev, @options) = @_; #TODO add -h tea run_program::run("mkreiserfs", "-ff", @options, devices::make($dev)) or die _("%s formatting of %s failed", "reiserfs", $dev); } sub format_xfs { my ($dev, @options) = @_; run_program::run("mkfs.xfs", "-f", "-q", @options, devices::make($dev)) or die _("%s formatting of %s failed", "xfs", $dev); } sub format_jfs { my ($dev, @options) = @_; run_program::run("mkfs.jfs", "-f", @options, devices::make($dev)) or die _("%s formatting of %s failed", "jfs", $dev); } sub format_dos { my ($dev, @options) = @_; run_program::run("mkdosfs", @options, devices::make($dev)) or die _("%s formatting of %s failed", "dos", $dev); } sub format_hfs { my ($dev, @options) = @_; run_program::run("hformat", @options, devices::make($dev)) or die _("%s formatting of %s failed", "HFS", $dev); } sub real_format_part { my ($part) = @_; $part->{isFormatted} and return; my $dev = $part->{real_device} || $part->{device}; my @options = $part->{toFormatCheck} ? "-c" : (); log::l("formatting device $dev (type ", type2name($part->{type}), ")"); if (isExt2($part)) { push @options, "-F" if isLoopback($part); push @options, "-m", "0" if $part->{mntpoint} =~ m|^/home|; format_ext2($dev, @options); } elsif (isThisFs("ext3", $part)) { push @options, "-m", "0" if $part->{mntpoint} =~ m|^/home|; format_ext3($dev, @options); } elsif (isThisFs("reiserfs", $part)) { format_reiserfs($dev, @options, if_(c::kernel_version() =~ /^\Q2.2/, "-v", "1")); } elsif (isThisFs("xfs", $part)) { format_xfs($dev, @options); } elsif (isThisFs("jfs", $part)) { format_jfs($dev, @options); } elsif (isDos($part)) { format_dos($dev, @options); } elsif (isWin($part)) { format_dos($dev, @options, '-F', 32); } elsif (isThisFs('hfs', $part)) { format_hfs($dev, @options, '-l', "Untitled"); } elsif (isAppleBootstrap($part)) { format_hfs($dev, @options, '-l', "bootstrap"); } elsif (isSwap($part)) { my $check_blocks = grep { /^-c$/ } @options; swap::make($dev, $check_blocks); } else { die _("I don't know how to format %s in type %s", $part->{device}, type2name($part->{type})); } $part->{isFormatted} = 1; } sub format_part { my ($raids, $part, $prefix) = @_; if (isRAID($part)) { require raid; raid::format_part($raids, $part); } elsif (isLoopback($part)) { loopback::format_part($part, $prefix); } else { real_format_part($part); } } ################################################################################ # mounting functions ################################################################################ sub set_loop { my ($part) = @_; if (!$part->{real_device}) { eval { modules::load('loop') }; $part->{real_device} = devices::set_loop(devices::make($part->{device}), $part->{encrypt_key}, $part->{options} =~ /encryption=(\w+)/); } } sub formatMount_part { my ($part, $raids, $fstab, $prefix, $callback) = @_; if (isLoopback($part)) { formatMount_part($part->{loopback_device}, $raids, $fstab, $prefix, $callback); } if (my $p = up_mount_point($part->{mntpoint}, $fstab)) { formatMount_part($p, $raids, $fstab, $prefix, $callback) unless loopback::carryRootLoopback($part); } if ($part->{encrypt_key}) { set_loop($part); } if ($part->{toFormat}) { $callback->($part) if $callback; format_part($raids, $part, $prefix); } mount_part($part, $prefix); } sub formatMount_all { my ($raids, $fstab, $prefix, $callback) = @_; formatMount_part($_, $raids, $fstab, $prefix, $callback) foreach sort { isLoopback($a) ? 1 : isSwap($a) ? -1 : 0 } grep { $_->{mntpoint} } @$fstab; #- ensure the link is there loopback::carryRootCreateSymlink($_, $prefix) foreach @$fstab; #- for fun :) #- that way, when install exits via ctrl-c, it gives hand to partition eval { local $SIG{__DIE__} = 'ignore'; my ($type, $major, $minor) = devices::entry(fsedit::get_root($fstab)->{device}); output "/proc/sys/kernel/real-root-dev", makedev($major, $minor); }; } sub mount { my ($dev, $where, $fs, $rdonly, $options) = @_; log::l("mounting $dev on $where as type $fs, options $options"); -d $where or mkdir_p($where); my @fs_modules = qw(vfat hfs romfs ufs reiserfs xfs jfs ext3); if (member($fs, 'smb', 'smbfs', 'nfs', 'davfs', 'ntfs') && $::isStandalone) { system('mount', '-t', $fs, $dev, $where, '-o', $options) == 0 or die _("mounting partition %s in directory %s failed", $dev, $where); return; #- do not update mtab, already done by mount(8) } elsif (member($fs, 'ext2', 'proc', 'usbdevfs', 'iso9660', @fs_modules)) { $dev = devices::make($dev) if $fs ne 'proc' && $fs ne 'usbdevfs'; $where =~ s|/$||; my $flag = c::MS_MGC_VAL(); $flag |= c::MS_RDONLY() if $rdonly; my $mount_opt = ""; if ($fs eq 'vfat') { $mount_opt = 'check=relaxed'; } elsif ($fs eq 'reiserfs') { #- could be better if we knew if there is a /boot or not #- without knowing it, / is forced to be mounted with notail # if $where =~ m|/(boot)?$|; $mount_opt = 'notail'; #- notail in any case } elsif ($fs eq 'jfs' && !$rdonly) { #- needed if the system is dirty otherwise mounting read-write simply fails run_program::run("fsck.jfs", $dev) or do { my $err = $?; die "fsck.jfs failed" if $err & 0xfc00; }; } elsif ($fs eq 'ext2' || $fs eq 'ext3' && $::isInstall) { foreach ('-a', '-y') { run_program::run("fsck.ext2", $_, $dev); my $err = $?; if ($err & 0x0100) { log::l("fsck corrected partition $dev") } if ($err & 0xfeff) { my $txt = sprintf("fsck failed on %s with exit code %d or signal %d", $dev, $err >> 8, $err & 255); $_ eq '-y' ? die($txt) : cdie($txt); } else { last; } } # really mount as ext2 during install for speed up $fs = 'ext2'; } if (member($fs, @fs_modules)) { eval { modules::load($fs) }; } elsif ($fs eq 'iso9660') { eval { modules::load('isofs') }; } log::l("calling mount($dev, $where, $fs, $flag, $mount_opt)"); syscall_('mount', $dev, $where, $fs, $flag, $mount_opt) or die _("mounting partition %s in directory %s failed", $dev, $where) . " ($!)"; } else { log::l("skipping mounting $fs partition"); return; } local *F; open F, ">>/etc/mtab" or return; #- fail silently, /etc must be read-only print F "$dev $where $fs defaults 0 0\n"; } #- takes the mount point to umount (can also be the device) sub umount { my ($mntpoint) = @_; $mntpoint =~ s|/$||; log::l("calling umount($mntpoint)"); syscall_('umount', $mntpoint) or die _("error unmounting %s: %s", $mntpoint, "$!"); substInFile { $_ = '' if /(^|\s)$mntpoint\s/ } '/etc/mtab'; #- don't care about error, if we can't read, we won't manage to write... (and mess mtab) } sub mount_part { my ($part, $prefix, $rdonly) = @_; #- root carrier's link can't be mounted loopback::carryRootCreateSymlink($part, $prefix); log::l("isMounted=$part->{isMounted}, real_mntpoint=$part->{real_mntpoint}, mntpoint=$part->{mntpoint}"); if ($part->{isMounted} && $part->{real_mntpoint} && $part->{mntpoint}) { log::l("remounting partition on $prefix$part->{mntpoint} instead of $part->{real_mntpoint}"); if ($::isInstall) { #- ensure partition will not be busy. require install_any; install_any::getFile('XXX'); } eval { umount($part->{real_mntpoint}); rmdir $part->{real_mntpoint}; symlinkf "$prefix$part->{mntpoint}", $part->{real_mntpoint}; delete $part->{real_mntpoint}; $part->{isMounted} = 0; }; } return if $part->{isMounted}; unless ($::testing) { if (isSwap($part)) { swap::swapon($part->{device}); } else { $part->{mntpoint} or die "missing mount point for partition $part->{device}"; my $mntpoint = ($prefix || '') . $part->{mntpoint}; if (isLoopback($part) || $part->{encrypt_key}) { set_loop($part); } elsif (loopback::carryRootLoopback($part)) { $mntpoint = "/initrd/loopfs"; } my $dev = $part->{real_device} || $part->{device}; mount($dev, $mntpoint, type2fs($part), $rdonly, $part->{options}); rmdir "$mntpoint/lost+found"; } } $part->{isMounted} = $part->{isFormatted} = 1; #- assume that if mount works, partition is formatted } sub umount_part { my ($part, $prefix) = @_; $part->{isMounted} || $part->{real_mntpoint} or return; unless ($::testing) { if (isSwap($part)) { swap::swapoff($part->{device}); } elsif (loopback::carryRootLoopback($part)) { umount("/initrd/loopfs"); } else { umount(($prefix || '') . $part->{mntpoint} || devices::make($part->{device})); devices::del_loop(delete $part->{real_device}) if $part->{real_device}; } } $part->{isMounted} = 0; } sub mount_all($;$$) { my ($fstab, $prefix) = @_; log::l("mounting all filesystems"); #- order mount by alphabetical order, that way / < /home < /home/httpd... foreach (sort { $a->{mntpoint} cmp $b->{mntpoint} } grep { isSwap($_) || $_->{mntpoint} && isTrueFS($_) } @$fstab) { mount_part($_, $prefix); } } sub umount_all($;$) { my ($fstab, $prefix) = @_; log::l("unmounting all filesystems"); foreach (sort { $b->{mntpoint} cmp $a->{mntpoint} } @$fstab) { $_->{mntpoint} and umount_part($_, $prefix); } } ################################################################################ # various functions ################################################################################ sub df { my ($part, $prefix) = @_; my $dir = "/tmp/tmp_fs_df"; return $part->{free} if exists $part->{free}; if ($part->{isMounted}) { $dir = ($prefix || '') . $part->{mntpoint}; } elsif ($part->{notFormatted} && !$part->{isFormatted}) { return; #- won't even try! } else { mkdir $dir; eval { mount($part->{device}, $dir, type2fs($part), 'readonly') }; if ($@) { $part->{notFormatted} = 1; $part->{isFormatted} = 0; unlink $dir; return; } } my (undef, $free) = MDK::Common::System::df($dir); if (!$part->{isMounted}) { umount($dir); unlink($dir) } $part->{free} = 2 * $free if defined $free; $part->{free}; } sub up_mount_point { my ($mntpoint, $fstab) = @_; while (1) { $mntpoint = dirname($mntpoint); $mntpoint ne "." or return; $_->{mntpoint} eq $mntpoint and return $_ foreach @$fstab; } } 1; '>640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772
>756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
# Jan Matis <damned@hq.alert.sk>, 2000.
# Pavol Cvengros <orpheus@hq.alert.sk>, 2000.
# Michal Holes <Michal@Holes.sk>, 2004,2005.
# Tibor Pittich <Tibor.Pittich@phuture.sk>, 2002,2003,2004,2005.
#
msgid ""
msgstr ""
"Project-Id-Version: DrakX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-09-12 16:44+0200\n"
"PO-Revision-Date: 2005-09-21 14:03+0100\n"
"Last-Translator: Tibor Pittich <Tibor.Pittich@mandriva.org>\n"
"Language-Team: <i18n@mandrake.sk>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
#: any.pm:109
#, c-format
msgid "Do you have further supplementary media?"
msgstr "Máte ešte nejaké ďalšie doplňujúce médiá?"
#. -PO: keep the double empty lines between sections, this is formatted a la LaTeX
#: any.pm:112
#, c-format
msgid ""
"The following media have been found and will be used during install: %s.\n"
"\n"
"\n"
"Do you have a supplementary installation medium to configure?"
msgstr ""
#: any.pm:120
#, c-format
msgid "CD-ROM"
msgstr "CD-ROM"
#: any.pm:121
#, c-format
msgid "Network (HTTP)"
msgstr "Sieť (HTTP)"
#: any.pm:122
#, c-format
msgid "Network (FTP)"
msgstr "Sieť (FTP)"
#: any.pm:123
#, c-format
msgid "Network (NFS)"
msgstr "Sieť (NFS)"
#: any.pm:163
#, c-format
msgid "URL of the mirror?"
msgstr "URL zrkadliaceho servera"
#: any.pm:169
#, c-format
msgid "URL must start with ftp:// or http://"
msgstr ""
#: any.pm:180
#, c-format
msgid ""
"Contacting Mandriva Linux web site to get the list of available mirrors..."
msgstr ""
"Pripájam sa k web stránke Mandriva Linux pre stiahnutie zoznamu zrkadiel..."
#: any.pm:185
#, fuzzy, c-format
msgid ""
"Failed contacting Mandriva Linux web site to get the list of available "
"mirrors"
msgstr ""
"Pripájam sa k web stránke Mandriva Linux pre stiahnutie zoznamu zrkadiel..."
#: any.pm:195
#, c-format
msgid "Choose a mirror from which to get the packages"
msgstr "Vyberte miror, z ktorého si chcete stiahnuť balíky"
#: any.pm:225
#, c-format
msgid "NFS setup"
msgstr "Nastavenie NFS"
#: any.pm:226
#, c-format
msgid "Please enter the hostname and directory of your NFS media"
msgstr "Zadajte prosím meno hostiteľa a priečinok pre vaše NFS médium"
#: any.pm:230
#, c-format
msgid "Hostname missing"
msgstr ""
#: any.pm:231
#, c-format
msgid "Directory must begin with \"/\""
msgstr ""
#: any.pm:235
#, c-format
msgid "Hostname of the NFS mount ?"
msgstr "Meno hostiteľa pre NFS bod pripojenia ?"
#: any.pm:236
#, c-format
msgid "Directory"
msgstr "Priečinok"
#: any.pm:258
#, c-format
msgid "Supplementary"
msgstr ""
#: any.pm:293
#, c-format
msgid ""
"Can't find a package list file on this mirror. Make sure the location is "
"correct."
msgstr "Nie je možné nájsť súbor hdlist na tomto zrkadliacom servery"
#: any.pm:328
#, c-format
msgid "Looking at packages already installed..."
msgstr "Hľadám balíky, ktoré sú už nainštalované..."
#: any.pm:335
#, c-format
msgid "Removing packages prior to upgrade..."
msgstr "Odstránenie balíkov pred aktualizáciou..."
#: any.pm:377
#, c-format
msgid "Finding packages to upgrade..."
msgstr "Hľadám balíky pre aktualizáciu..."
#. -PO: keep the double empty lines between sections, this is formatted a la LaTeX
#: any.pm:564
#, c-format
msgid ""
"You have selected the following server(s): %s\n"
"\n"
"\n"
"These servers are activated by default. They do not have any known security\n"
"issues, but some new ones could be found. In that case, you must make sure\n"
"to upgrade as soon as possible.\n"
"\n"
"\n"
"Do you really want to install these servers?\n"
msgstr ""
"Zvolili ste nasledujúcu službu/služby: %s\n"
"\n"
"\n"
"Tieto služby sa spúšťajú implicitne. Momentálne nemajú žiadne známe "
"bezpečnostné\n"
"problémy, ale v budúcnosti nejaké môžu byť nájdené. V tom prípade musíte "
"zabezpečiť\n"
"upgrade čo najskôr.\n"
"\n"
"\n"
"Naozaj si želáte inštalovať tieto služby?\n"
#. -PO: keep the double empty lines between sections, this is formatted a la LaTeX
#: any.pm:587
#, c-format
msgid ""
"The following packages will be removed to allow upgrading your system: %s\n"
"\n"
"\n"
"Do you really want to remove these packages?\n"
msgstr ""
"Nasledovné balíky budú musieť byť odinštalované aby bolo možné vykonať "
"upgrade vášho systému: %s\n"
"\n"
"\n"
"Chcete naozaj tieto balíky odinštalovať?\n"
#: any.pm:801
#, c-format
msgid "Error reading file %s"
msgstr "chyba pri čítaní zo súboru %s"
#: any.pm:1008
#, c-format
msgid "The following disk(s) were renamed:"
msgstr "Nasledovné disky boli premenované:"
#: any.pm:1010
#, c-format
msgid "%s (previously named as %s)"
msgstr "%s (predtým ako %s)"
#: any.pm:1067
#, c-format
msgid "HTTP"
msgstr "HTTP"
#: any.pm:1067
#, c-format
msgid "FTP"
msgstr "FTP"
#: any.pm:1067
#, c-format
msgid "NFS"
msgstr "NFS"
#: any.pm:1086 steps_interactive.pm:972
#, c-format
msgid "Network"
msgstr "Sieť"
#: any.pm:1090
#, c-format
msgid "Please choose a media"
msgstr "Vyberte si zdroj"
#: any.pm:1106
#, c-format
msgid "File already exists. Overwrite it?"
msgstr "Súbor už existuje. Prepísať?"
#: any.pm:1110
#, c-format
msgid "Permission denied"
msgstr "Prístup zamietnutý"
#: any.pm:1158
#, c-format
msgid "Bad NFS name"
msgstr "Nesprávne NFS meno"
#: any.pm:1179
#, c-format
msgid "Bad media %s"
msgstr "Zlý zdroj %s"
#: any.pm:1222
#, c-format
msgid "Can not make screenshots before partitioning"
msgstr "Nemôžem spraviť kópie obrazovky pred rozdelením disku"
#: any.pm:1230
#, c-format
msgid "Screenshots will be available after install in %s"
msgstr "Kópie obrazovky budú po inštalácii dostupné v %s"
#: gtk.pm:126
#, fuzzy, c-format
msgid "Installation"
msgstr "Inštalujem"
#: gtk.pm:130 share/meta-task/compssUsers.pl:42
#, c-format
msgid "Configuration"
msgstr "Konfigurácia"
#: install2.pm:168
#, c-format
msgid "You must also format %s"
msgstr "Taktiež musíte naformátovať %s"
#: interactive.pm:16
#, c-format
msgid ""
"Some hardware on your computer needs ``proprietary'' drivers to work.\n"
"You can find some information about them at: %s"
msgstr ""
"Niektorý hardvér vo vašom počítači potrebuje ``proprietárne'' ovládače.\n"
"Informácie môžete nájsť na: %s"
#: interactive.pm:22
#, c-format
msgid "Bringing up the network"
msgstr "Spúšťam prácu so sieťou"
#: interactive.pm:27
#, c-format
msgid "Bringing down the network"
msgstr "Ukončuje sa prácu so sieťou"
#: media.pm:422
#, c-format
msgid "Please wait, retrieving file"
msgstr ""
#: media.pm:703 media.pm:714
#, c-format
msgid "Downloading file %s..."
msgstr "Sťahovanie súboru %s..."
#: media.pm:806
#, c-format
msgid "Copying some packages on disks for future use"
msgstr ""
#: media.pm:859
#, c-format
msgid "Copying in progress"
msgstr "Prebieha kopírovanie"
#: pkgs.pm:29
#, c-format
msgid "must have"
msgstr "musíte mať"
#: pkgs.pm:30
#, c-format
msgid "important"
msgstr "dôležité"
#: pkgs.pm:31
#, c-format
msgid "very nice"
msgstr "veľmi zaujímavé"
#: pkgs.pm:32
#, c-format
msgid "nice"
msgstr "zaujímavé"
#: pkgs.pm:33
#, c-format
msgid "maybe"
msgstr "možno.."
#: pkgs.pm:253
#, c-format
msgid ""
"Some packages requested by %s cannot be installed:\n"
"%s"
msgstr ""
#: share/meta-task/compssUsers.pl:11
#, c-format
msgid "Workstation"
msgstr "Pracovná stanica"
#: share/meta-task/compssUsers.pl:13
#, c-format
msgid "Office Workstation"
msgstr "Kancelárska stanica"
#: share/meta-task/compssUsers.pl:15
#, c-format
msgid ""
"Office programs: wordprocessors (OpenOffice.org Writer, Kword), spreadsheets "
"(OpenOffice.org Calc, Kspread), PDF viewers, etc"
msgstr ""
"Kancelárske programy: editory (OpenOffice.org Writer, Kword), tabuľkové "
"procesory (OpenOffice.org Calc, Kspread), pdf prehliadače, atď"
#: share/meta-task/compssUsers.pl:16
#, c-format
msgid ""
"Office programs: wordprocessors (kword, abiword), spreadsheets (kspread, "
"gnumeric), pdf viewers, etc"
msgstr ""
"Kancelárske programy: editory (kword, abiword), tabuľkové procesory "
"(kspread, gnumeric), pdf prehliadače, atď"
#: share/meta-task/compssUsers.pl:21
#, c-format
msgid "Game station"
msgstr "Hracia stanica"
#: share/meta-task/compssUsers.pl:22
#, c-format
msgid "Amusement programs: arcade, boards, strategy, etc"
msgstr "Zábavne programy: stolové, stratégie, atď"
#: share/meta-task/compssUsers.pl:25
#, c-format
msgid "Multimedia station"
msgstr "Multimediálna stanica"
#: share/meta-task/compssUsers.pl:26
#, c-format
msgid "Sound and video playing/editing programs"
msgstr "Programy na prehrávanie/editovanie zvuku a videa"
#: share/meta-task/compssUsers.pl:31
#, c-format
msgid "Internet station"
msgstr "Internetová stanica"
#: share/meta-task/compssUsers.pl:32
#, c-format
msgid ""
"Set of tools to read and send mail and news (mutt, tin..) and to browse the "
"Web"
msgstr ""
"Nástroje na čítanie a posielanie emailov a news správ (mutt, tin..) a "
"prehliadanie www"
#: share/meta-task/compssUsers.pl:37
#, c-format
msgid "Network Computer (client)"
msgstr "Sieťovy počítač (klient)"
#: share/meta-task/compssUsers.pl:38
#, c-format
msgid "Clients for different protocols including ssh"
msgstr "Klientovia pre rôzne protokoly vrátane ssh"
#: share/meta-task/compssUsers.pl:43
#, c-format
msgid "Tools to ease the configuration of your computer"
msgstr "Nástroje na jednoduchú konfiguráciu vášho počítača"
#: share/meta-task/compssUsers.pl:47
#, c-format
msgid "Console Tools"
msgstr "Konzolové nástroje"
#: share/meta-task/compssUsers.pl:48
#, c-format
msgid "Editors, shells, file tools, terminals"
msgstr "Editory, shelly, súborové nástroje, terminály"
#: share/meta-task/compssUsers.pl:52 share/meta-task/compssUsers.pl:153
#: share/meta-task/compssUsers.pl:155
#, c-format
msgid "Development"
msgstr "Vývojárska"
#: share/meta-task/compssUsers.pl:53 share/meta-task/compssUsers.pl:156
#, c-format
msgid "C and C++ development libraries, programs and include files"
msgstr "C a C++ vývojove knižnice, programy a include súbory"
#: share/meta-task/compssUsers.pl:56 share/meta-task/compssUsers.pl:160
#, c-format
msgid "Documentation"
msgstr "Dokumentácia"
#: share/meta-task/compssUsers.pl:57 share/meta-task/compssUsers.pl:161
#, c-format
msgid "Books and Howto's on Linux and Free Software"
msgstr "Knihy a návody pre Linux a iný voľný softvér"
#: share/meta-task/compssUsers.pl:61 share/meta-task/compssUsers.pl:164
#, c-format
msgid "LSB"
msgstr "LSB"
#: share/meta-task/compssUsers.pl:62 share/meta-task/compssUsers.pl:165
#, c-format
msgid "Linux Standard Base. Third party applications support"
msgstr "Linux Standard Base. Aplikačná podpora od tretej strany"
#: share/meta-task/compssUsers.pl:71
#, c-format
msgid "Web Server"
msgstr "Web server"
#: share/meta-task/compssUsers.pl:72
#, c-format
msgid "Apache"
msgstr "Apache"
#: share/meta-task/compssUsers.pl:75
#, c-format
msgid "Groupware"
msgstr "Groupware"
#: share/meta-task/compssUsers.pl:76
#, c-format
msgid "Kolab Server"
msgstr "Kolab server"
#: share/meta-task/compssUsers.pl:79 share/meta-task/compssUsers.pl:120
#, c-format
msgid "Firewall/Router"
msgstr "Firewall/Router"
#: share/meta-task/compssUsers.pl:80 share/meta-task/compssUsers.pl:121
#, c-format
msgid "Internet gateway"
msgstr "Brána k Internetu"
#: share/meta-task/compssUsers.pl:83
#, c-format
msgid "Mail/News"
msgstr "Mail/News"
#: share/meta-task/compssUsers.pl:84
#, c-format
msgid "Postfix mail server, Inn news server"
msgstr "Postfix poštový systém, Inn news server"
#: share/meta-task/compssUsers.pl:87
#, c-format
msgid "Directory Server"
msgstr "Adresárový server"
#: share/meta-task/compssUsers.pl:91
#, c-format
msgid "FTP Server"
msgstr "FTP server"
#: share/meta-task/compssUsers.pl:92
#, c-format
msgid "ProFTPd"
msgstr "ProFTPd"
#: share/meta-task/compssUsers.pl:95
#, c-format
msgid "DNS/NIS"
msgstr "DNS/NIS"
#: share/meta-task/compssUsers.pl:96
#, c-format
msgid "Domain Name and Network Information Server"
msgstr "Server doménových mien a sieťový informačný server (NIS)"
#: share/meta-task/compssUsers.pl:99
#, c-format
msgid "File and Printer Sharing Server"
msgstr "Súborový a tlačový server"
#: share/meta-task/compssUsers.pl:100
#, c-format
msgid "NFS Server, Samba server"
msgstr "NFS server, Samba server"
#: share/meta-task/compssUsers.pl:103 share/meta-task/compssUsers.pl:116
#, c-format
msgid "Database"
msgstr "Databázy"
#: share/meta-task/compssUsers.pl:104
#, c-format
msgid "PostgreSQL and MySQL Database Server"
msgstr "Databázový server PostgreSQL a MySQL"
#: share/meta-task/compssUsers.pl:108
#, c-format
msgid "Web/FTP"
msgstr "Web/FTP"
#: share/meta-task/compssUsers.pl:109
#, c-format
msgid "Apache, Pro-ftpd"
msgstr "Apache a Pro-ftpd"
#: share/meta-task/compssUsers.pl:112
#, c-format
msgid "Mail"
msgstr "Mail"
#: share/meta-task/compssUsers.pl:113
#, c-format
msgid "Postfix mail server"
msgstr "Postfix mail server"
#: share/meta-task/compssUsers.pl:117
#, c-format
msgid "PostgreSQL or MySQL database server"
msgstr "PostgreSQL, alebo MySQL databázový server"
#: share/meta-task/compssUsers.pl:124
#, c-format
msgid "Network Computer server"
msgstr "Sieťový server"
#: share/meta-task/compssUsers.pl:125
#, c-format
msgid "NFS server, SMB server, Proxy server, ssh server"
msgstr "NFS server, SMB server, Proxy server, SSH server"
#: share/meta-task/compssUsers.pl:131
#, c-format
msgid "Graphical Environment"
msgstr "Grafické prostredie"
#: share/meta-task/compssUsers.pl:133
#, c-format
msgid "KDE Workstation"
msgstr "KDE pracovná stanica"
#: share/meta-task/compssUsers.pl:134
#, c-format
msgid ""
"The K Desktop Environment, the basic graphical environment with a collection "
"of accompanying tools"
msgstr ""
"K Desktop Enviroment, grafické prostredie s množstvom pribalených programov"
#: share/meta-task/compssUsers.pl:138
#, c-format
msgid "GNOME Workstation"
msgstr "GNOME pracovná stanica"
#: share/meta-task/compssUsers.pl:139
#, c-format
msgid ""
"A graphical environment with user-friendly set of applications and desktop "
"tools"
msgstr "Grafické rozhranie s aplikáciami a desktopovými nástrojmi"
#: share/meta-task/compssUsers.pl:142
#, c-format
msgid "IceWm Desktop"
msgstr "Pracovná plocha IceWm"
#: share/meta-task/compssUsers.pl:146
#, c-format
msgid "Other Graphical Desktops"
msgstr "Iné grafické prostredia"
#: share/meta-task/compssUsers.pl:147
#, c-format
msgid "Window Maker, Enlightenment, Fvwm, etc"
msgstr "Window Maker, Enlightenment, Fvwm, atď"
#: share/meta-task/compssUsers.pl:170
#, c-format
msgid "Utilities"
msgstr "Utility"
#: share/meta-task/compssUsers.pl:172 share/meta-task/compssUsers.pl:173
#, c-format
msgid "SSH Server"
msgstr "SSH server"
#: share/meta-task/compssUsers.pl:177
#, c-format
msgid "Webmin"
msgstr "Webmin"
#: share/meta-task/compssUsers.pl:178
#, c-format
msgid "Webmin Remote Configuration Server"
msgstr "Vzdialená konfigurácia servera pomocou Webmin"
#: share/meta-task/compssUsers.pl:182
#, c-format
msgid "Network Utilities/Monitoring"
msgstr "Sieťové utility/Monitoring"
#: share/meta-task/compssUsers.pl:183
#, c-format
msgid "Monitoring tools, processes accounting, tcpdump, nmap, ..."
msgstr "Monitorovacie nástroje, účtovanie procesov, tcpdump, nmap, ..."
#: share/meta-task/compssUsers.pl:187
#, c-format
msgid "Mandriva Wizards"
msgstr "Sprievodcovia Mandriva"
#: share/meta-task/compssUsers.pl:188
#, c-format
msgid "Wizards to configure server"
msgstr "Sprievodcovia pre konfiguráciu servera"
#: steps.pm:85
#, c-format
msgid ""
"An error occurred, but I do not know how to handle it nicely.\n"
"Continue at your own risk."
msgstr ""
"Vyskytla sa chyba a neviem ju úplne vyriešiť.\n"
"Pokračujte na vlastnú zodpovednosť."
#: steps.pm:437
#, c-format
msgid ""
"Some important packages did not get installed properly.\n"
"Either your cdrom drive or your cdrom is defective.\n"
"Check the cdrom on an installed computer using \"rpm -qpl media/main/*.rpm"
"\"\n"
msgstr ""
"Niektoré dôležité balíky neboli správne nainštalované.\n"
"Je možné, že sú poškodené váš CD disk alebo mechanika.\n"
"Skontrolujte to napríklad použitím \"rpm -qpl media/main/*.rpm\"\n"
#: steps_auto_install.pm:71 steps_stdio.pm:27
#, c-format
msgid "Entering step `%s'\n"
msgstr "Spúšťam krok %s'\n"
#: steps_curses.pm:22
#, c-format
msgid "Mandriva Linux Installation %s"
msgstr "Inštalácia Mandriva Linux %s"
#: steps_curses.pm:32
#, c-format
msgid "<Tab>/<Alt-Tab> between elements"
msgstr "<Tab>/<Alt-Tab> medzi položkami"
#: steps_gtk.pm:84
#, c-format
msgid "Xorg server is slow to start. Please wait..."
msgstr ""
#: steps_gtk.pm:194
#, c-format
msgid ""
"Your system is low on resources. You may have some problem installing\n"
"Mandriva Linux. If that occurs, you can try a text install instead. For "
"this,\n"
"press `F1' when booting on CDROM, then enter `text'."
msgstr ""
"Váš systém má nedostatok prostriedkov. Možno budete mať problémy s\n"
"inštaláciou Mandriva Linux. Ak sa tak stane, skúste textovú inštaláciu. Pre "
"jej\n"
"spustenie stlačte `F1' po naštartovaní z CDROMky a zadajte `text'."
#: steps_gtk.pm:228
#, c-format
msgid "Install Mandriva KDE Desktop"
msgstr ""
#: steps_gtk.pm:229
#, c-format
msgid "Install Mandriva GNOME Desktop"
msgstr ""
#: steps_gtk.pm:230
#, fuzzy, c-format
msgid "Custom install"
msgstr "Minimálna inštalácia"
#: steps_gtk.pm:259
#, fuzzy, c-format
msgid "KDE Desktop"
msgstr "Pracovná plocha IceWm"
#: steps_gtk.pm:260
#, fuzzy, c-format
msgid "GNOME Desktop"
msgstr "Pracovná plocha IceWm"
#: steps_gtk.pm:261
#, fuzzy, c-format
msgid "Custom Desktop"
msgstr "Pracovná plocha IceWm"
#: steps_gtk.pm:267
#, c-format
msgid "Here's a preview of the '%s' desktop."
msgstr ""
#: steps_gtk.pm:275
#, c-format
msgid "Click on images in order to see a bigger preview"
msgstr ""
#: steps_gtk.pm:287 steps_interactive.pm:618 steps_list.pm:30
#, c-format
msgid "Package Group Selection"
msgstr "Výber skupín balíkov"
#: steps_gtk.pm:308 steps_interactive.pm:635
#, c-format
msgid "Individual package selection"
msgstr "Osobitná voľba balíkov"
#: steps_gtk.pm:330 steps_interactive.pm:561
#, c-format
msgid "Total size: %d / %d MB"
msgstr "Celková veľkosť: %d / %d MB"
#: steps_gtk.pm:375
#, c-format
msgid "Bad package"
msgstr "Chybný balík"
#: steps_gtk.pm:377
#, c-format
msgid "Version: "
msgstr "Verzia:"
#: steps_gtk.pm:378
#, c-format
msgid "Size: "
msgstr "Veľkosť:"
#: steps_gtk.pm:378
#, c-format
msgid "%d KB\n"
msgstr "%d KB\n"
#: steps_gtk.pm:379
#, c-format
msgid "Importance: "
msgstr "Dôležitosť:"
#: steps_gtk.pm:413
#, c-format
msgid "You can not select/unselect this package"
msgstr "Môžete označiť/odznačiť tento balík"
#: steps_gtk.pm:417
#, c-format