<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>25542</bug_id>
          
          <creation_ts>2011-05-01 21:04:10 +0400</creation_ts>
          <short_desc>Может монтировать vfat в rw режиме?</short_desc>
          <delta_ts>2012-03-12 16:01:55 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>propagator</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>ASSIGNED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sergey Shilov">hsv</reporter>
          <assigned_to name="Michael Shigorin">mike</assigned_to>
          <cc>mike</cc>
    
    <cc>radik</cc>
    
    <cc>rider</cc>
    
    <cc>sem</cc>
    
    <cc>shakirov</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>120966</commentid>
    <comment_count>0</comment_count>
    <who name="Sergey Shilov">hsv</who>
    <bug_when>2011-05-01 21:04:10 +0400</bug_when>
    <thetext>Например: 

diff --git a/disk.c b/disk.c
index 2d037cc..c726229 100644
--- a/disk.c
+++ b/disk.c
@@ -255,7 +255,7 @@ static enum return_type try_with_partition(char *choice)
 
        if (my_mount(device_fullname, IMAGE_LOCATION, &quot;ext2&quot;, 0) == -1 &amp;&amp;
            my_mount(device_fullname, IMAGE_LOCATION, &quot;ext3&quot;, 0) == -1 &amp;&amp;
-           my_mount(device_fullname, IMAGE_LOCATION, &quot;vfat&quot;, 0) == -1 &amp;&amp;
+           my_mount(device_fullname, IMAGE_LOCATION, &quot;vfat&quot;, 1) == -1 &amp;&amp;
            my_mount(device_fullname, IMAGE_LOCATION, &quot;ntfs&quot;, 0) == -1 &amp;&amp;
            my_mount(device_fullname, IMAGE_LOCATION, &quot;iso9660&quot;, 0) == -1 &amp;&amp;
            my_mount(device_fullname, IMAGE_LOCATION, &quot;reiserfs&quot;, 0) == -1) {

Очень удобно для заргузочных (live/resque) FAT флешек, когда в /image/* (т.е. на саму флешку) можно что-то записать.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120994</commentid>
    <comment_count>1</comment_count>
    <who name="Lenar Shakirov">shakirov</who>
    <bug_when>2011-05-02 23:41:24 +0400</bug_when>
    <thetext>2hsv: не лучше ли в rc.local делать:
# mount -o remount,rw /image
?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121010</commentid>
    <comment_count>2</comment_count>
    <who name="Sergey Shilov">hsv</who>
    <bug_when>2011-05-03 12:50:28 +0400</bug_when>
    <thetext>(В ответ на комментарий №1)
&gt; 2hsv: не лучше ли в rc.local делать:
&gt; # mount -o remount,rw /image
&gt; ?
А работает?

В случае с live mount не знает об /image. 
Флешка смонтирована в /mnt/sd(угадываем).

Наверное лучше научить пропагатора чему-то типа
automatic=method:disk,...rw:1
с &quot;0&quot; - по умолчанию.

Мне вот понадобилось выдавать два урла на два отфонарных телевизора с двух отфонарных выводов отфонарной видеокарты с лайвовой флешки.
Детектить (xrandr-ом) телевизоры + названия выходов видеокарты с сохранением параметров в шаблончик (который потом можно поправить и пользовать для восстановления иксовой конфигурации) на саму флешку (до вызова rc.local) оказалось удобно. 

Потому и предложил.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129686</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2012-03-12 16:01:55 +0400</bug_when>
    <thetext>Регрессов не заметил, надеюсь?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>